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

Yang Xu xuyang2018.jy@cn.fujitsu.com
Fri Jun 21 04:01:29 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.
Hi Petr

Ok. I will take this as the next plan.

> Kind regards,
> Petr
>
>
>





More information about the ltp mailing list