mirror of
https://repo.or.cz/socat.git
synced 2025-07-15 15:43: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
|
@ -2074,7 +2074,7 @@ int parseopts_table(const char **a, groups_t groups, struct opt **opts,
|
|||
}
|
||||
|
||||
if (!(ent->desc->group & groups) && !(ent->desc->group & GROUP_ANY) &&
|
||||
!xioopts_ignoregroups) {
|
||||
(ent->desc->group != GROUP_ADDR) && !xioopts_ignoregroups) {
|
||||
Error1("parseopts_table(): option \"%s\" not supported with this address type",
|
||||
token /*a0*/);
|
||||
Info2("parseopts_table() groups="F_groups_t", ent->group="F_groups_t,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue