Module Name: src
Committed By: dholland
Date: Sun Mar 13 00:33:12 UTC 2016
Modified Files:
src/usr.bin/at: privs.c privs.h
Log Message:
Mark the shared files with where they're used, like we do in pkgsrc.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/at/privs.c
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/at/privs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/at/privs.c
diff -u src/usr.bin/at/privs.c:1.1 src/usr.bin/at/privs.c:1.2
--- src/usr.bin/at/privs.c:1.1 Sun Mar 13 00:32:09 2016
+++ src/usr.bin/at/privs.c Sun Mar 13 00:33:12 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: privs.c,v 1.1 2016/03/13 00:32:09 dholland Exp $ */
+/* $NetBSD: privs.c,v 1.2 2016/03/13 00:33:12 dholland Exp $ */
/*
* privs.c - privileged operations
@@ -32,6 +32,11 @@
#include "privs.h"
/*
+ * Used by: usr.bin/at
+ * Used by: libexec/atrun
+ */
+
+/*
* Relinquish privileges temporarily for a setuid or setgid program
* with the option of getting them back later. This is done by
* using POSIX saved user and groups ids. Call RELINQUISH_PRIVS once
Index: src/usr.bin/at/privs.h
diff -u src/usr.bin/at/privs.h:1.9 src/usr.bin/at/privs.h:1.10
--- src/usr.bin/at/privs.h:1.9 Sun Mar 13 00:32:09 2016
+++ src/usr.bin/at/privs.h Sun Mar 13 00:33:12 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: privs.h,v 1.9 2016/03/13 00:32:09 dholland Exp $ */
+/* $NetBSD: privs.h,v 1.10 2016/03/13 00:33:12 dholland Exp $ */
/*
* privs.h - header for privileged operations
@@ -31,6 +31,11 @@
#define _PRIVS_H_
/*
+ * Used by: usr.bin/at
+ * Used by: libexec/atrun
+ */
+
+/*
* Relinquish privileges temporarily for a setuid or setgid program
* with the option of getting them back later. This is done by
* using POSIX saved user and groups ids. Call RELINQUISH_PRIVS once