[apparmor] ENOPROTOOPT error when calling aa_getpeercon()

Sergio Costas Rodriguez sergio.costas at canonical.com
Mon Jan 29 16:31:39 UTC 2024


Hi all,

I'm using aa_getpeercon() to get info about a socket, but in some 
kernels with odd apparmor configurations it returns ENOPROTOOPT. But the 
manpage doesn't list that error in the possible errors of this call. 
Under which circumstances can that error be returned?

Thanks.




More information about the AppArmor mailing list