mirror of
https://repo.or.cz/socat.git
synced 2025-07-16 08:03:24 +00:00
Restrict option umask to the address it is applied to
This commit is contained in:
parent
254958a34d
commit
e5cbf2feeb
10 changed files with 208 additions and 14 deletions
|
@ -148,6 +148,7 @@ enum e_func {
|
|||
/* keep consistent with xiohelp.c:addressgroupnames[] ! */
|
||||
/* a dummy group */
|
||||
#define GROUP_NONE 0x00000000
|
||||
#define GROUP_ADDR 0x00000000 /* options that apply to all addresses */
|
||||
|
||||
#define GROUP_FD 0x00000001 /* everything applyable to a fd */
|
||||
#define GROUP_FIFO 0x00000002
|
||||
|
@ -862,6 +863,7 @@ enum e_optcode {
|
|||
OPT_UNLINK_CLOSE,
|
||||
OPT_UNLINK_EARLY,
|
||||
OPT_UNLINK_LATE,
|
||||
OPT_UN_UMASK,
|
||||
OPT_USER,
|
||||
OPT_USER_EARLY,
|
||||
OPT_USER_LATE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue