[LTP] [PATCH v2] security: add missing PR_CAPBSET_READ/PR_CAPBSET_DROP check

Petr Vorel pvorel@suse.cz
Thu Jun 20 13:49:52 CEST 2019


Hi Yang,

> PR_CAPBSET_READ/PR_CAPNSET_DROP was added since linux2.6.25,
> current ltp detected them in ltp-prctl.m4, but three places
> missed this check. So add it, fix possible compiler error
> on some old dirtros without PR_CAPBSET_READ/PR_CAPNSET_DROP flag.

Thanks for your patch, merged.

BTW these cap files would deserve converting into new API.

Kind regards,
Petr


More information about the ltp mailing list