OpenBSD/src IozRsr3sbin/sysctl sysctl.c

   Restrict filesystem access to read only _PATH_DEVDB and /dev through unveil(2),
   discussed by many.
   Additionally call ctime(3) before unveil(2) in order to avoid potential $TZ
   expansion and therefore avoiding opening more files that would need to be read,
   idea from deraadt@.
   While here sort the headers alphabetically.

   OK florian@ deraadt@
VersionDeltaFile
1.243+15-4sbin/sysctl/sysctl.c
+15-41 files

UnifiedSplitRaw