]> git.ipfire.org Git - thirdparty/nftables.git/commit
meta: relax restriction on UID/GID parsing
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 29 Nov 2013 10:23:09 +0000 (11:23 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 29 Nov 2013 10:29:41 +0000 (11:29 +0100)
commite0ed4c45d9ad2564ae3ab3f4465466b0130a845c
tree7c01dfb9fd12e0a60e926806243898441984eb6c
parent3f513f1d264c0a6c481e04fd346d35e9fb9a56e2
meta: relax restriction on UID/GID parsing

nft is currently rejecting unknown UID/GID if they don't exist in the
system, relax this as Bjørnar Ness considers this is a valid scenario.
Now this only reports an error if you pass an unknown user (expressed as
string or if the UID/GID goes above 32 bits).

Reported-by: Bjørnar Ness <bjornar.ness@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/meta.c