Changeset 2159
- Timestamp:
- Mar 26, 2012, 1:58:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/common/oursrc/fuse-better-mousetrapfs/better-mousetrapfs
r2158 r2159 68 68 status = dict(tuple(v.strip() for v in l.split(':', 1)) 69 69 for l in open('/proc/%d/status' % pid).readlines()) 70 cwd = os.readlink('/proc/%d/cwd' % pid) 70 71 71 72 syslog.syslog( 72 syslog.LOG_WARNING | syslog.LOG_AUTH,73 'mousetrap caught process %d, uid=%s, gid=%s, exe=%r, cmdline=%r ' %74 (pid, user, group, exe, cmdline ))73 syslog.LOG_WARNING | 80, # 80 = LOG_AUTHPRIV 74 'mousetrap caught process %d, uid=%s, gid=%s, exe=%r, cmdline=%r, cwd=%r' % 75 (pid, user, group, exe, cmdline, cwd)) 75 76 76 77 try:
Note: See TracChangeset
for help on using the changeset viewer.