diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-22 20:46:54 +0000 |
---|---|---|
committer | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-30 14:29:51 +0200 |
commit | 5714e1cef2584410a7823c7ead9d2435141fb0c4 (patch) | |
tree | 49579f8c7a427ca770f3a4b99df081c9233f58f6 /main.h | |
parent | b3427143ae8dc628cb3748da7618700c6bd7ac9e (diff) | |
download | hurd-5714e1cef2584410a7823c7ead9d2435141fb0c4.tar.gz hurd-5714e1cef2584410a7823c7ead9d2435141fb0c4.tar.bz2 hurd-5714e1cef2584410a7823c7ead9d2435141fb0c4.zip |
Add --stat-mode to override the perms for [pid]/stat
* main.c (argp_parser, main): Add the --stat-mode option.
* process.c (process_lookup_pid): Use it.
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,2 +1,3 @@ /* Startup options */ extern int opt_clk_tck; +extern mode_t opt_stat_mode; |