Hello, During initrd stage I have a daemon trying
to do IOCTL to the driver module. The return error code is -1 = EPERM. I am digging into sys_ioctl code and
further down. Can anyone tell me if CAP_SYS_RAWIO
is allowed during initrd stage. Is it controlled from somewhere in
security/seclvl.c? If CAP_SYS_RAWIO is not permitted during
initrd stage , can I configure it inside /sbin/mkinitrd and make my own
custom initrd. I know it was permitted in 2.4 kernels . -vikas |