questions about cgroup devices

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

 



Hi all,

I think I met a problem about cgroup devices.

The following is my detailed operations:

# cd /sys/fs/cgroup/devices/
# mkdir test
# echo "c 1:3 rw" > test/devices.deny
# cat test/devices.list 
a *:* rwm

It seems my setting does not react in devices.list.

But in another terminal, /dev/null is really limited to access.
$ sudo cgexec -g devices:test dd if=/dev/zero of=/dev/null bs=1M count=128
dd: failed to open '/dev/null': Operation not permitted

So, is this a bug of cgroup devices?

Environment:
OS version: Fefora 25
Kernel version: 4.8.15-300.fc25.x86_64


Thanks
-- 
Ma Shimiao
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)


--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux