Help: is ioctl allowed during initrd stage?

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

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux