[rsbac] RSBAC build problem on linux-4.9.y-c3fbb3a

HacKurx hackurx at gmail.com
Tue May 16 21:33:21 CEST 2017


2017-05-16 8:57 GMT+02:00 Amon Ott :
> mprotect must be active by default and it has been working fine in hard
> server use for months now.
>
> You can use rsbac_debug_mprotect kernel parameter to get debug output
> for mprotect. To enable debug as user 400 at runtime (disable with 0):
>
> echo debug_mprotect 1 >/proc/rsbac-info/debug

I do not have the file "/proc/rsbac-info/debug" :/
I have not yet used RSBAC administration tools. I only configured the
kernel to test your mprotect option.
I use ubuntu 16.04 LTS for this.

> You are welcome - this list is for asking questions.
Thank you very much, I'm curious to test something other than PaX / Grsecurity.

Best regards,

HacKurx (Loic)
-------------- section suivante --------------
mai 16 21:14:15 Vostro3558 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.28-rsbac root=UUID=xxxxx-xxx-xxx-xxx-xxxxx ro rsbac_debug_mprotect
mai 16 21:14:15 Vostro3558 kernel: 0000000000|rsbac_mount(): RSBAC not initialized while mounting DEV 00:01, fs-type rootfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000001|rsbac_mount(): RSBAC not initialized while mounting DEV 00:02, fs-type bdev, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000002|rsbac_mount(): RSBAC not initialized while mounting DEV 00:03, fs-type nsfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000003|rsbac_mount(): RSBAC not initialized while mounting DEV 00:04, fs-type proc, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000004|rsbac_mount(): RSBAC not initialized while mounting DEV 00:05, fs-type tmpfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000005|rsbac_mount(): RSBAC not initialized while mounting DEV 00:06, fs-type devtmpfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000006|rsbac_mount(): RSBAC not initialized while mounting DEV 00:07, fs-type sockfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000007|rsbac_mount(): RSBAC not initialized while mounting DEV 00:08, fs-type debugfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000008|rsbac_mount(): RSBAC not initialized while mounting DEV 00:09, fs-type pipefs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000009|rsbac_mount(): RSBAC not initialized while mounting DEV 00:10, fs-type anon_inodefs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000010|rsbac_mount(): RSBAC not initialized while mounting DEV 00:11, fs-type hugetlbfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000011|rsbac_mount(): RSBAC not initialized while mounting DEV 00:12, fs-type securityfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000012|rsbac_mount(): RSBAC not initialized while mounting DEV 00:13, fs-type aio, delaying
mai 16 21:14:15 Vostro3558 kernel: usb usb1: Manufacturer: Linux 4.9.28-rsbac ehci_hcd
mai 16 21:14:15 Vostro3558 kernel: usb usb2: Manufacturer: Linux 4.9.28-rsbac xhci-hcd
mai 16 21:14:15 Vostro3558 kernel: usb usb3: Manufacturer: Linux 4.9.28-rsbac xhci-hcd
mai 16 21:14:15 Vostro3558 kernel: 0000000013|rsbac_mount(): RSBAC not initialized while mounting DEV 00:14, fs-type sysfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000014|rsbac_mount(): RSBAC not initialized while mounting DEV 00:04, fs-type proc, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000015|rsbac_mount(): RSBAC not initialized while mounting DEV 00:06, fs-type devtmpfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000016|rsbac_mount(): RSBAC not initialized while mounting DEV 00:15, fs-type devpts, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000017|rsbac_mount(): RSBAC not initialized while mounting DEV 00:16, fs-type tmpfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000018|rsbac_mount(): RSBAC not initialized while mounting DEV 00:17, fs-type drm, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000019|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000020|rsbac_umount(): RSBAC not initialized
mai 16 21:14:15 Vostro3558 kernel: 0000000021|rsbac_umount(): found delayed mount for device 00:06, removing
mai 16 21:14:15 Vostro3558 kernel: 0000000022|rsbac_mount(): RSBAC not initialized while mounting DEV 00:06, fs-type devtmpfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000023|rsbac_umount(): RSBAC not initialized
mai 16 21:14:15 Vostro3558 kernel: 0000000024|rsbac_umount(): found delayed mount for device 00:16, removing
mai 16 21:14:15 Vostro3558 kernel: 0000000025|rsbac_mount(): RSBAC not initialized while mounting DEV 00:16, fs-type tmpfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000026|rsbac_umount(): RSBAC not initialized
mai 16 21:14:15 Vostro3558 kernel: 0000000027|rsbac_umount(): found delayed mount for device 00:14, removing
mai 16 21:14:15 Vostro3558 kernel: 0000000028|rsbac_mount(): RSBAC not initialized while mounting DEV 00:14, fs-type sysfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000029|rsbac_umount(): RSBAC not initialized
mai 16 21:14:15 Vostro3558 kernel: 0000000030|rsbac_umount(): found delayed mount for device 00:04, removing
mai 16 21:14:15 Vostro3558 kernel: 0000000031|rsbac_mount(): RSBAC not initialized while mounting DEV 00:04, fs-type proc, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000032|rsbac_umount(): RSBAC not initialized
mai 16 21:14:15 Vostro3558 kernel: 0000000033|rsbac_umount(): found delayed mount for device 08:01, removing
mai 16 21:14:15 Vostro3558 kernel: 0000000034|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000035|rsbac_mount(): RSBAC not initialized while mounting DEV 00:12, fs-type securityfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000036|rsbac_mount(): RSBAC not initialized while mounting DEV 00:04, fs-type proc, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000037|rsbac_mount(): RSBAC not initialized while mounting DEV 00:14, fs-type sysfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000038|rsbac_mount(): RSBAC not initialized while mounting DEV 00:18, fs-type tmpfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000039|rsbac_mount(): RSBAC not initialized while mounting DEV 00:19, fs-type tmpfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000040|rsbac_mount(): RSBAC not initialized while mounting DEV 00:20, fs-type tmpfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000041|rsbac_mount(): RSBAC not initialized while mounting DEV 00:21, fs-type cgroup, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000042|rsbac_mount(): RSBAC not initialized while mounting DEV 00:22, fs-type cgroup, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000043|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000044|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000045|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000046|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000047|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000048|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000049|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000050|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000051|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000052|rsbac_mount(): RSBAC not initialized while mounting DEV 00:08, fs-type debugfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000053|rsbac_mount(): RSBAC not initialized while mounting DEV 00:23, fs-type hugetlbfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000054|rsbac_mount(): RSBAC not initialized while mounting DEV 00:08, fs-type debugfs, delaying
mai 16 21:14:15 Vostro3558 kernel: 0000000055|rsbac_umount(): RSBAC not initialized
mai 16 21:14:15 Vostro3558 kernel: 0000000056|rsbac_umount(): found delayed mount for device 00:08, removing
mai 16 21:14:21 Vostro3558 kernel: 0000000057|rsbac_mount(): RSBAC not initialized while mounting DEV 08:04, fs-type ext4, delaying
mai 16 21:14:22 Vostro3558 kernel: 0000000058|rsbac_mount(): RSBAC not initialized while mounting DEV 08:02, fs-type ext4, delaying
mai 16 21:14:24 Vostro3558 kernel: 0000000059|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:24 Vostro3558 kernel: 0000000060|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:24 Vostro3558 kernel: 0000000061|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:24 Vostro3558 kernel: 0000000062|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:24 Vostro3558 kernel: 0000000063|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:24 Vostro3558 kernel: 0000000064|rsbac_mount(): RSBAC not initialized while mounting DEV 00:16, fs-type tmpfs, delaying
mai 16 21:14:24 Vostro3558 kernel: 0000000065|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:24 Vostro3558 kernel: 0000000066|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:25 Vostro3558 gpu-manager[1951]: Error: can't open /lib/modules/4.9.28-rsbac/updates/dkms
mai 16 21:14:25 Vostro3558 gpu-manager[1951]: Error: can't open /lib/modules/4.9.28-rsbac/updates/dkms
mai 16 21:14:28 Vostro3558 kernel: 0000000067|rsbac_mount(): RSBAC not initialized while mounting DEV 08:02, fs-type ext4, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000068|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000069|rsbac_mount(): RSBAC not initialized while mounting DEV 00:24, fs-type tmpfs, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000070|rsbac_mount(): RSBAC not initialized while mounting DEV 00:15, fs-type devpts, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000071|rsbac_mount(): RSBAC not initialized while mounting DEV 00:18, fs-type tmpfs, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000072|rsbac_mount(): RSBAC not initialized while mounting DEV 00:23, fs-type hugetlbfs, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000073|rsbac_umount(): RSBAC not initialized
mai 16 21:14:28 Vostro3558 kernel: 0000000074|rsbac_umount(): found delayed mount for device 00:24, removing
mai 16 21:14:28 Vostro3558 kernel: 0000000075|rsbac_mount(): RSBAC not initialized while mounting DEV 00:24, fs-type tmpfs, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000076|rsbac_umount(): RSBAC not initialized
mai 16 21:14:28 Vostro3558 kernel: 0000000077|rsbac_mount(): RSBAC not initialized while mounting DEV 00:16, fs-type tmpfs, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000078|rsbac_mount(): RSBAC not initialized while mounting DEV 00:16, fs-type tmpfs, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000079|rsbac_mount(): RSBAC not initialized while mounting DEV 00:16, fs-type tmpfs, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000080|rsbac_mount(): RSBAC not initialized while mounting DEV 08:02, fs-type ext4, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000081|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000082|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000083|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000084|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000085|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000086|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:28 Vostro3558 kernel: 0000000087|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:29 Vostro3558 kernel: 0000000088|rsbac_get_attr(): RSBAC not initialized
mai 16 21:14:29 Vostro3558 kernel: 0000000089|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!
mai 16 21:14:29 Vostro3558 kernel: 0000000090|rsbac_get_attr(): RSBAC not initialized
mai 16 21:14:29 Vostro3558 kernel: 0000000091|rsbac_get_attr(): RSBAC not initialized
mai 16 21:14:29 Vostro3558 kernel: 0000000092|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!
mai 16 21:14:29 Vostro3558 kernel: 0000000093|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!
mai 16 21:14:29 Vostro3558 kernel: 0000000094|rsbac_get_attr(): RSBAC not initialized
mai 16 21:14:29 Vostro3558 kernel: 0000000095|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!
mai 16 21:14:32 Vostro3558 kernel: 0000000096|rsbac_mount(): RSBAC not initialized while mounting DEV 00:25, fs-type tmpfs, delaying
mai 16 21:14:32 Vostro3558 kernel: 0000000097|rsbac_get_attr(): RSBAC not initialized
mai 16 21:14:32 Vostro3558 kernel: 0000000097|rsbac_get_attr(): RSBAC not initialized
mai 16 21:14:32 Vostro3558 kernel: 0000000098|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!
mai 16 21:14:32 Vostro3558 kernel: 0000000099|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!
mai 16 21:14:32 Vostro3558 kernel: 0000000100|rsbac_get_attr(): RSBAC not initialized
mai 16 21:14:32 Vostro3558 kernel: 0000000101|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!
mai 16 21:14:39 Vostro3558 kernel: 0000000102|rsbac_mount(): RSBAC not initialized while mounting DEV 00:26, fs-type fusectl, delaying
mai 16 21:14:39 Vostro3558 kernel: 0000000103|rsbac_mount(): RSBAC not initialized while mounting DEV 00:27, fs-type fuse, delaying
mai 16 21:14:41 Vostro3558 kernel: 0000000104|rsbac_mount(): RSBAC not initialized while mounting DEV 08:02, fs-type ext4, delaying
mai 16 21:14:41 Vostro3558 kernel: 0000000105|rsbac_mount(): RSBAC not initialized while mounting DEV 08:01, fs-type ext4, delaying
mai 16 21:14:57 Vostro3558 kernel: 0000000106|rsbac_get_attr(): RSBAC not initialized
mai 16 21:14:57 Vostro3558 kernel: 0000000107|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!
mai 16 21:14:58 Vostro3558 kernel: 0000000108|rsbac_get_attr(): RSBAC not initialized
mai 16 21:14:58 Vostro3558 kernel: 0000000109|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!
mai 16 21:15:06 Vostro3558 kernel: 0000000110|rsbac_get_attr(): RSBAC not initialized
mai 16 21:15:06 Vostro3558 kernel: 0000000111|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!
mai 16 21:15:06 Vostro3558 kernel: 0000000112|rsbac_get_attr(): RSBAC not initialized
mai 16 21:15:06 Vostro3558 kernel: 0000000113|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!
mai 16 21:15:06 Vostro3558 kernel: 0000000114|rsbac_get_attr(): RSBAC not initialized
mai 16 21:15:06 Vostro3558 kernel: 0000000115|rsbac_set_audit_uid(): rsbac_get_attr() for audit_uid returned error!


More information about the rsbac mailing list