summaryrefslogtreecommitdiffstats
path: root/login-utils
diff options
context:
space:
mode:
authorSami Kerola2012-02-28 23:05:59 +0100
committerSami Kerola2012-03-18 14:28:03 +0100
commitba0c903004aa81caeca805472e83adeeb2269aa4 (patch)
tree30d08f1d750eaf2c50a3684fab5cc72ff59b7d27 /login-utils
parentlogin: add USER to initial environment (diff)
downloadkernel-qcow2-util-linux-ba0c903004aa81caeca805472e83adeeb2269aa4.tar.gz
kernel-qcow2-util-linux-ba0c903004aa81caeca805472e83adeeb2269aa4.tar.xz
kernel-qcow2-util-linux-ba0c903004aa81caeca805472e83adeeb2269aa4.zip
docs: add deprecation comments
Markup deprecation to command header to avoid people wasting time in fixing these utilities. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'login-utils')
-rw-r--r--login-utils/last.c9
-rw-r--r--login-utils/newgrp.c9
-rw-r--r--login-utils/vipw.c9
3 files changed, 27 insertions, 0 deletions
diff --git a/login-utils/last.c b/login-utils/last.c
index 734730b3a..417314ee5 100644
--- a/login-utils/last.c
+++ b/login-utils/last.c
@@ -27,6 +27,15 @@
*/
/*
+ * This command is deprecated. The utility is in maintenance mode,
+ * meaning we keep them in source tree for backward compatibility
+ * only. Do not waste time making this command better, unless the
+ * fix is about security or other very critical issue.
+ *
+ * See Documentation/deprecated.txt for more information.
+ */
+
+/*
* last
*/
#include <sys/param.h>
diff --git a/login-utils/newgrp.c b/login-utils/newgrp.c
index 983993416..707c5893a 100644
--- a/login-utils/newgrp.c
+++ b/login-utils/newgrp.c
@@ -6,6 +6,15 @@
* - added Native Language Support
*/
+/*
+ * This command is deprecated. The utility is in maintenance mode,
+ * meaning we keep them in source tree for backward compatibility
+ * only. Do not waste time making this command better, unless the
+ * fix is about security or other very critical issue.
+ *
+ * See Documentation/deprecated.txt for more information.
+ */
+
#include <errno.h>
#include <getopt.h>
#include <grp.h>
diff --git a/login-utils/vipw.c b/login-utils/vipw.c
index 92b42313f..c0ed0b3fb 100644
--- a/login-utils/vipw.c
+++ b/login-utils/vipw.c
@@ -44,6 +44,15 @@
* - fixed strerr(errno) in gettext calls
*/
+/*
+ * This command is deprecated. The utility is in maintenance mode,
+ * meaning we keep them in source tree for backward compatibility
+ * only. Do not waste time making this command better, unless the
+ * fix is about security or other very critical issue.
+ *
+ * See Documentation/deprecated.txt for more information.
+ */
+
#include <errno.h>
#include <fcntl.h>
#include <paths.h>