opnsense-ports/security/chrootuid/files/patch-chrootuid.c
Franco Fichtner ee1340af02 */*: sync with upstream
Taken from: FreeBSD
2016-05-16 11:27:06 +02:00

13 lines
347 B
C

--- chrootuid.c.orig 2001-07-25 16:47:44 UTC
+++ chrootuid.c
@@ -81,6 +81,10 @@ char **argv;
syslog(LOG_ERR, "usage: %s path user command", argv[0]);
return (0);
}
+
+ syslog(LOG_NOTICE, "chrootuid: dir(%s) user(%s) command(%s)",
+ argv[1], argv[2], argv[3]);
+
/* Must step into the new subtree. */
if (chdir(argv[1])) {