Do you think it is possible to make acl's with per-ioctl permissions? I want to stop my users from reading my interfaces' MAC addresses, but I don't know if it is possible to do this with grsecurity.
It seems like MAC address can be retrieved by SIOCGIFHWADDR and adding this feature would require some hooks in ioctl handling functions(file_ioctl?). What do you think about it?
Maybe there's some other way of disabling HWaddr access but i can't find it. Can anybody help me?