Re: Adding CAP_NET_RAW to binaries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/11/17 16:47, nicolas.mailhot@xxxxxxxxxxx wrote:

Thanks a lot, I should have thought of it myself, I must be tired today.

Is there a difference between
setcap cap_net_raw+ep

and
%caps(cap_net_raw=p)

I can't seem to locate a correct setcap or %caps() reference

I imagine you want =ep to make it the same?

Assuming it's like chmod then +ep adds the e and p flags while =ep would set the flags to exactly that.

Obviously in the context on installing an rpm adding flags doesn't make sense, you just want to specify what they should be.

Full details are in cap_from_text(3) by the looks of it.

Tom

--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux