Mercurial > hg > dhcpcd
comparison src/privsep.h @ 5526:b1a3d9055662 draft
privsep: Allow logfile reopening in a chroot
Now that only the privileged actioneer does the actual logging
we can safely reopen the file we are logging to.
This also closes and re-opens the syslog connection.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Fri, 30 Oct 2020 14:19:16 +0000 |
| parents | 41d06921177b |
| children |
comparison
equal
deleted
inserted
replaced
| 5525:26b5d9bc2985 | 5526:b1a3d9055662 |
|---|---|
| 50 #define PS_WRITEFILE 0x0015 | 50 #define PS_WRITEFILE 0x0015 |
| 51 #define PS_FILEMTIME 0x0016 | 51 #define PS_FILEMTIME 0x0016 |
| 52 #define PS_AUTH_MONORDM 0x0017 | 52 #define PS_AUTH_MONORDM 0x0017 |
| 53 #define PS_CTL 0x0018 | 53 #define PS_CTL 0x0018 |
| 54 #define PS_CTL_EOF 0x0019 | 54 #define PS_CTL_EOF 0x0019 |
| 55 #define PS_LOGREOPEN 0x0020 | |
| 55 | 56 |
| 56 /* BSD Commands */ | 57 /* BSD Commands */ |
| 57 #define PS_IOCTLLINK 0x0101 | 58 #define PS_IOCTLLINK 0x0101 |
| 58 #define PS_IOCTL6 0x0102 | 59 #define PS_IOCTL6 0x0102 |
| 59 #define PS_IOCTLINDIRECT 0x0103 | 60 #define PS_IOCTLINDIRECT 0x0103 |
