summaryrefslogtreecommitdiffstats
path: root/login-utils/newgrp.c
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/newgrp.c
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/newgrp.c')
-rw-r--r--login-utils/newgrp.c9
1 files changed, 9 insertions, 0 deletions
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>