[rsbac] New git repo for 2.6.39
Jens Kasten
igraltist at rsbac.org
Fri Jul 15 00:06:31 CEST 2011
Hi,
first i try with almost all enabled.
Then i got the first compiler error for reg module.
Then the second i build a kernel only with AUTH and boot it.
The second entry is from this boot.
When i try to setup AUTH auth_learn for sshd then i got this bug.
The setup is on qemu-kvm guest -> cryptsetup -> lvm -> ext4
Am Donnerstag, den 14.07.2011, 16:52 +0200 schrieb Amon Ott:
> Hi everyone!
>
> RSBAC has been successfully ported to 2.6.39.3, you find a new git repo at
> http://git.rsbac.org. Please test it and report so that we can make a new
> release soon.
>
> Amon.
-------------- next part --------------
[ 660.850209] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 660.852570] IP: [<c1157ed5>] jbd2_journal_file_inode+0x35/0xd0
[ 660.854240] *pde = 00000000
[ 660.855335] Oops: 0000 [#1] SMP
[ 660.856589] last sysfs file: /sys/devices/virtual/bdi/0:17/uevent
[ 660.858169] Modules linked in: nfs lockd auth_rpcgss nfs_acl sunrpc loop [last unloaded: scsi_wait_]
[ 660.860021]
[ 660.860021] Pid: 231, comm: rsbacd Tainted: G W 2.6.39.3-rsbac+ #1 Bochs Bochs
[ 660.860021] EIP: 0060:[<c1157ed5>] EFLAGS: 00010246 CPU: 2
[ 660.860021] EIP is at jbd2_journal_file_inode+0x35/0xd0
[ 660.860021] EAX: f5894000 EBX: f558f900 ECX: 0000000c EDX: 00000000
[ 660.860021] ESI: 00000000 EDI: f5614800 EBP: f5614800 ESP: f56c7ba4
[ 660.860021] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 660.860021] Process rsbacd (pid: 231, ti=f56c6000 task=f5555440 task.ti=f56c6000)
[ 660.860021] Stack:
[ 660.860021] f5a242d8 f56c7c9c 00000001 c113198c 00000005 00000001 f56c7c9c c10a9775
[ 660.860021] 00000000 c1131ec5 00001000 00000223 00000001 f56c7c9c f5894000 00000000
[ 660.860021] 00000000 f56c7ce4 f5a243a0 f5a242d8 00000002 00000000 00000000 f746eb40
[ 660.860021] Call Trace:
[ 660.860021] [<c113198c>] ? mpage_da_map_and_submit+0x4ac/0x5d0
[ 660.860021] [<c10a9775>] ? __pagevec_release+0x15/0x20
[ 660.860021] [<c1131ec5>] ? write_cache_pages_da+0x2e5/0x330
[ 660.860021] [<c113d770>] ? ext4_journal_start_sb+0x50/0x130
[ 660.860021] [<c10a70a2>] ? tag_pages_for_writeback+0x62/0xb0
[ 660.860021] [<c1132142>] ? ext4_da_writepages+0x232/0x410
[ 660.860021] [<c113413e>] ? ext4_da_write_end+0x11e/0x2d0
[ 660.860021] [<c10a7fc4>] ? do_writepages+0x14/0x30
[ 660.860021] [<c10a08df>] ? __filemap_fdatawrite_range+0x5f/0x80
[ 660.860021] [<c10a0960>] ? filemap_write_and_wait_range+0x60/0x90
[ 660.860021] [<c10fa9fd>] ? vfs_fsync_range+0x5d/0x90
[ 660.860021] [<c10faa88>] ? generic_write_sync+0x58/0x80
[ 660.860021] [<c10a25db>] ? generic_file_aio_write+0xcb/0xe0
[ 660.860021] [<c1129bef>] ? ext4_file_write+0x5f/0x2b0
[ 660.860021] [<c10d34e5>] ? do_sync_write+0xb5/0xf0
[ 660.860021] [<c103d36b>] ? rsbac_list_write_buffers+0xdb/0x2f0
[ 660.860021] [<c103caa5>] ? fill_buffer+0x75/0x250
[ 660.860021] [<c10412eb>] ? rsbac_write_lists+0x18b/0x4f0
[ 660.860021] [<c1001ccb>] ? __switch_to+0xdb/0x1b0
[ 660.860021] [<c12f6bf5>] ? schedule_timeout+0x165/0x1b0
[ 660.860021] [<c1197a7d>] ? vsnprintf+0xbd/0x420
[ 660.860021] [<c104e8c2>] ? __wake_up+0x42/0x60
[ 660.860021] [<c102fc4d>] ? rsbac_write+0x2d/0xb0
[ 660.860021] [<c107883b>] ? up+0xb/0x40
[ 660.860021] [<c10313af>] ? rsbacd+0x1df/0x2d0
[ 660.860021] [<c104e7bf>] ? complete+0x3f/0x60
[ 660.860021] [<c10311d0>] ? dev_compare+0x70/0x70
[ 660.860021] [<c10735e4>] ? kthread+0x74/0x80
[ 660.860021] [<c1073570>] ? kthread_worker_fn+0x160/0x160
[ 660.860021] [<c12f8fbe>] ? kernel_thread_helper+0x6/0xd
[ 660.860021] Code: 89 7c 24 08 89 d6 8b 18 f6 40 10 04 8b 3b 74 16 b8 fb ff ff ff 8b 1c 24 8b 74 24
[ 660.860021] 1a 74 4f 39 5a 04 8d 74 26 00 74 46 8d 87 fc 01 00 00 e8 33
[ 660.860021] EIP: [<c1157ed5>] jbd2_journal_file_inode+0x35/0xd0 SS:ESP 0068:f56c7ba4
[ 660.860021] CR2: 0000000000000000
[ 660.925639] ---[ end trace 0f40efb72cddaaad ]---
-------------- next part --------------
rsbac/adf/reg/modules_off.c: In Funktion »init_module«:
rsbac/adf/reg/modules_off.c:65: Fehler: Implizite Deklaration der Funktion »path_lookup«
make[3]: *** [rsbac/adf/reg/modules_off.o] Fehler 1
make[2]: *** [rsbac/adf/reg] Fehler 2
make[1]: *** [rsbac/adf] Fehler 2
make: *** [rsbac] Fehler 2
[ 8.030137] ------------[ cut here ]------------
[ 8.031470] WARNING: at fs/namei.c:1979 rsbac_lookup_one_len+0xe2/0x100()
[ 8.033199] Hardware name: Bochs
[ 8.034213] Modules linked in: [last unloaded: scsi_wait_scan]
[ 8.036000] Pid: 228, comm: exe Not tainted 2.6.39.3-rsbac+ #1
[ 8.037109] Call Trace:
[ 8.037748] [<c10595e8>] ? warn_slowpath_common+0x78/0xb0
[ 8.038826] [<c10de212>] ? rsbac_lookup_one_len+0xe2/0x100
[ 8.039916] [<c10de212>] ? rsbac_lookup_one_len+0xe2/0x100
[ 8.041030] [<c105963b>] ? warn_slowpath_null+0x1b/0x20
[ 8.042074] [<c10de212>] ? rsbac_lookup_one_len+0xe2/0x100
[ 8.043156] [<c10a2776>] ? mempool_alloc+0x46/0x100
[ 8.044170] [<c103362c>] ? lookup_aci_path_dentry+0x18c/0x5c0
[ 8.045300] [<c118fbef>] ? cpumask_next_and+0x1f/0x40
[ 8.046320] [<c1033a9c>] ? rsbac_read_open+0x3c/0x330
[ 8.047334] [<c103e28f>] ? do_read_list+0x2f/0x860
[ 8.048321] [<c103e2a9>] ? do_read_list+0x49/0x860
[ 8.049309] [<c101e9e5>] ? pvclock_clocksource_read+0xf5/0x190
[ 8.050466] [<c103eb0c>] ? read_list+0x4c/0x140
[ 8.051410] [<c118fbef>] ? cpumask_next_and+0x1f/0x40
[ 8.052428] [<c1050e48>] ? update_sd_lb_stats+0xf8/0x560
[ 8.053489] [<c104f097>] ? check_preempt_wakeup+0x97/0xe0
[ 8.054565] [<c10a3950>] ? zone_watermark_ok+0x30/0x40
[ 8.055605] [<c10a5e7d>] ? __alloc_pages_nodemask+0xfd/0x700
[ 8.056707] [<c10ceb61>] ? __kmalloc+0x101/0x160
[ 8.057667] [<c103c999>] ? lookup_reg_name+0x59/0xf0
[ 8.058678] [<c10451d7>] ? rsbac_list_register_hashed+0x447/0x820
[ 8.059853] [<c1045232>] ? rsbac_list_register_hashed+0x4a2/0x820
[ 8.061095] [<c102b920>] ? debug_adf_default_setup+0x10/0x10
[ 8.062207] [<c119055c>] ? idr_get_empty_slot+0xfc/0x280
[ 8.063259] [<c10cd4cc>] ? new_slab+0x12c/0x1d0
[ 8.064215] [<c1196238>] ? number+0x348/0x360
[ 8.065614] [<c1190761>] ? ida_get_new_above+0x81/0x1c0
[ 8.066696] [<c119055c>] ? idr_get_empty_slot+0xfc/0x280
[ 8.067750] [<c11907e9>] ? ida_get_new_above+0x109/0x1c0
[ 8.068803] [<c1196c41>] ? format_decode+0x321/0x390
[ 8.069812] [<c1197a7d>] ? vsnprintf+0xbd/0x420
[ 8.070783] [<c1045600>] ? rsbac_list_register+0x50/0x60
[ 8.071837] [<c102b920>] ? debug_adf_default_setup+0x10/0x10
[ 8.072943] [<c102bf05>] ? rsbac_init_debug+0x205/0x540
[ 8.073997] [<c102b920>] ? debug_adf_default_setup+0x10/0x10
[ 8.075106] [<c1031e85>] ? rsbac_init+0x2c5/0x11e0
[ 8.076092] [<c104e8c2>] ? __wake_up+0x42/0x60
[ 8.077026] [<c102bc8b>] ? rsbac_printk+0x18b/0x200
[ 8.078016] [<c102bc8b>] ? rsbac_printk+0x18b/0x200
[ 8.079010] [<c1033037>] ? rsbac_mount+0x297/0x6d0
[ 8.079995] [<c10f0568>] ? vfs_kern_mount+0x68/0xb0
[ 8.081015] [<c10f060f>] ? do_kern_mount+0x3f/0xe0
[ 8.081994] [<c10f2547>] ? do_mount+0x1c7/0x2c0
[ 8.082929] [<c10f26b2>] ? sys_mount+0x72/0xb0
[ 8.083875] [<c12f828c>] ? syscall_call+0x7/0xb
[ 8.084832] ---[ end trace 0f40efb72cddaaac ]---
More information about the rsbac
mailing list