Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/at Mark the shared files with where they're used, li...
details: https://anonhg.NetBSD.org/src/rev/89a6f1dee41e
branches: trunk
changeset: 344100:89a6f1dee41e
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Mar 13 00:33:12 2016 +0000
description:
Mark the shared files with where they're used, like we do in pkgsrc.
diffstat:
usr.bin/at/privs.c | 7 ++++++-
usr.bin/at/privs.h | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diffs (42 lines):
diff -r 4aaa334799be -r 89a6f1dee41e usr.bin/at/privs.c
--- a/usr.bin/at/privs.c Sun Mar 13 00:32:09 2016 +0000
+++ b/usr.bin/at/privs.c Sun Mar 13 00:33:12 2016 +0000
@@ -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
diff -r 4aaa334799be -r 89a6f1dee41e usr.bin/at/privs.h
--- a/usr.bin/at/privs.h Sun Mar 13 00:32:09 2016 +0000
+++ b/usr.bin/at/privs.h Sun Mar 13 00:33:12 2016 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index