Displaying 12 results from an estimated 12 matches for "avc_has_perm".
2011 Nov 21
0
[PATCH] xsm/flask: fix resource list range checks
..._perm(access));
- if ( rc )
- return rc;
-
- if ( access )
- perm = RESOURCE__ADD_IOMEM;
- else
- perm = RESOURCE__REMOVE_IOMEM;
+ AVC_AUDIT_DATA_INIT(&ad, DEV);
+ ad.device = start;
- ssec = current->domain->ssid;
- tsec = d->ssid;
+ rc = avc_has_perm(data->ssec->sid, sid, SECCLASS_RESOURCE, data->perm, &ad);
- rc = security_iomem_sid(mfn, &rsid);
if ( rc )
return rc;
- AVC_AUDIT_DATA_INIT(&ad, DEV);
- ad.device = mfn;
+ return avc_has_perm(data->tsec->sid, sid, SECCLASS_RESOURCE, RESOURCE...
2012 Mar 27
1
Odd hang on a 5.6 system
..._cd]
Mar 27 16:52:05 cjcsrv kernel: [<e88da06e>] media_changed+0x40/0x6e [cdrom]
Mar 27 16:52:05 cjcsrv kernel: [<c047de20>] check_disk_change+0x13/0x3b
Mar 27 16:52:05 cjcsrv kernel: [<e88ddfe4>] cdrom_open+0x833/0x876 [cdrom]
Mar 27 16:52:05 cjcsrv kernel: [<c04c95c3>] avc_has_perm+0x3c/0x46
Mar 27 16:52:05 cjcsrv kernel: [<c04c95c3>] avc_has_perm+0x3c/0x46
Mar 27 16:52:05 cjcsrv kernel: [<c048c42f>] __d_lookup+0x98/0xdb
Mar 27 16:52:05 cjcsrv kernel: [<c04c95c3>] avc_has_perm+0x3c/0x46
Mar 27 16:52:05 cjcsrv kernel: [<c04c9c29>] inode_has_perm+0x5...
2013 Nov 06
0
[PATCH] Btrfs: fix lockdep error in async commit
...[ 2372.462742] [<ffffffffa022cb36>] btrfs_commit_transaction_async+0x1d6/0x2a0 [btrfs]
[ 2372.462783] [<ffffffffa025a7ce>] btrfs_ioctl_start_sync+0x3e/0xc0 [btrfs]
[ 2372.462822] [<ffffffffa025f1d3>] btrfs_ioctl+0x4c3/0x1f70 [btrfs]
[ 2372.462849] [<ffffffff812c0321>] ? avc_has_perm+0x121/0x1b0
[ 2372.462873] [<ffffffff812c0224>] ? avc_has_perm+0x24/0x1b0
[ 2372.462897] [<ffffffff8107ecc8>] ? sched_clock_cpu+0xa8/0x100
[ 2372.462922] [<ffffffff8117b145>] do_vfs_ioctl+0x2e5/0x4e0
[ 2372.462946] [<ffffffff812c19e6>] ? file_has_perm+0x86/0xa0
[ 2372.46...
2010 Aug 17
0
Re: [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
...00e0bc6>] radeon_gem_object_create+0x8b/0xf9 [radeon]
> [<ffffffff810449ef>] ? __wake_up+0x3f/0x48
> [<ffffffffa00e0c34>] ? radeon_gem_create_ioctl+0x0/0xda [radeon]
> [<ffffffffa00e0c89>] radeon_gem_create_ioctl+0x55/0xda [radeon]
> [<ffffffff811d6339>] ? avc_has_perm+0x57/0x69
> [<ffffffffa005d0c7>] drm_ioctl+0x232/0x2ef [drm]
> [<ffffffff8100fab9>] ? __spin_time_accum+0x21/0x37
> [<ffffffff8100fd19>] ?
__xen_spin_lock+0xb7/0xcd
> [<ffffffff8111859c>] vfs_ioctl+0x6a/0x82
> [<ffffffff81118aa8>] do_vfs_ioctl+0x47...
2012 Jan 31
26
[PATCH 00/10] FLASK updates: MSI interrupts, cleanups
This patch set adds XSM security labels to useful debugging output
locations, and fixes some assumptions that all interrupts behaved like
GSI interrupts (which had useful non-dynamic IDs). It also cleans up the
policy build process and adds an example of how to use the user field in
the security context.
Debug output:
[PATCH 01/10] xsm: Add security labels to event-channel dump
[PATCH 02/10] xsm:
2004 Jul 21
3
X100P panic
..._common_ioctl+0x6d5/0xb70 [zaptel]
[<02140096>] get_user_size+0x2e/0x55
[<12a81d8a>] zt_chanandpseudo_ioctl+0x8a/0x13e0 [zaptel]
[<021fed64>] __ide_do_rw_disk+0x280/0x468
[<021156ed>] recalc_task_prio+0x128/0x133
[<02107390>] do_IRQ+0x15d/0x169
[<021816fe>] avc_has_perm_noaudit+0xb8/0x11b
[<021817a0>] avc_has_perm+0x3f/0x49
[<02182761>] inode_has_perm+0x57/0x5f
[<021c70de>] build_attr+0x4f/0xef
[<021816fe>] avc_has_perm_noaudit+0xb8/0x11b
[<021846ee>] selinux_file_ioctl+0x2f6/0x303
[<021817a0>] avc_has_perm+0x3f/0x49
[<...
2008 Jan 03
1
Weird crash with CentOS 5.1
...s identical, onle one has this problem.
Right after it starts, it will kernel panic. Unfortunately, from the
backtrace this is all I've managed to get : serial port isn't working.
So it's a manual copy of what the screen show.
[<c04721f3>] sync_buffer+0x0/0x33
[<c04bff66>] avc_has_perm+0x3a/0x44
[<c04c055d>] inode_has_perm+0x54
[<f8899829>] ext3_lookup+0x25/0xb7 [ext3]
[<c047b0d1>] do_lookup+0xb4/0x166
[<c047ce5b>] __link_path_walk+0x87a/0xd33
[<c047d35d>] link_path_walk+0x49/0xbd
[<c046f582>] sys_chdir+0x4f/0x57
[<c047d72a>] do_path_look...
2010 Aug 18
2
Re: [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650] Stack trace
...00e0bc6>] radeon_gem_object_create+0x8b/0xf9 [radeon]
> [<ffffffff810449ef>] ? __wake_up+0x3f/0x48
> [<ffffffffa00e0c34>] ? radeon_gem_create_ioctl+0x0/0xda [radeon]
> [<ffffffffa00e0c89>] radeon_gem_create_ioctl+0x55/0xda [radeon]
> [<ffffffff811d6339>] ? avc_has_perm+0x57/0x69
> [<ffffffffa005d0c7>] drm_ioctl+0x232/0x2ef [drm]
> [<ffffffff8100fab9>] ? __spin_time_accum+0x21/0x37
> [<ffffffff8100fd19>] ?
__xen_spin_lock+0xb7/0xcd
> [<ffffffff8111859c>] vfs_ioctl+0x6a/0x82
> [<ffffffff81118aa8>] do_vfs_ioctl+0x47...
2007 May 11
4
CentOS 5 ssloooowww when network unavailable
This is undoubtedly an upstream issue, but ...
I've been messing about with that hp pavilion trying to get wireless
working. If I boot with the eth0 NIC plugged in, everything is
blazingly fast -- GDM comes up in a few seconds, the Gnome startup
splash screen barely has time to appear before it's gone again, shells
pop up the instant I click Open Terminal.
If I unplug the network and
2009 Sep 10
24
[Bug 23847] New: kernel BUG when using nouveau
...schedule_timeout+0x17/0xbd
[ 288.525499] [<c0423ba6>] ? scsi_done+0x0/0xd
[ 288.525508] [<c03b0907>] ? kobject_put+0x37/0x3c
[ 288.525518] [<c041bf8a>] ? put_device+0xf/0x11
[ 288.525526] [<c04280a2>] ? scsi_request_fn+0x326/0x3c6
[ 288.525536] [<c0380536>] ? avc_has_perm+0x3c/0x46
[ 288.525545] [<c0380536>] ? avc_has_perm+0x3c/0x46
[ 288.525553] [<c03b09e8>] ? kobject_get+0x12/0x17
[ 288.525562] [<c03a88cf>] ? get_disk+0x39/0x50
[ 288.525571] [<c03a88f0>] ? exact_lock+0xa/0x11
[ 288.525579] [<c03b09e8>] ? kobject_get+0x12/0x1...
2011 Jan 12
4
a nasty kernel oops
...gt;] device_release_driver+0x1c/0x2b
[<c0588351>] usb_driver_release_interface+0x38/0x60
[<c0590cc0>] proc_ioctl_default+0x10d/0x1d0
[<c0591ffd>] usbdev_ioctl+0x1027/0x10de
[<c048b06b>] __d_lookup+0x98/0xdb
[<c04c7eff>] inode_has_perm+0x54/0x5c
[<c04c78ab>] avc_has_perm+0x3c/0x46
[<c04c7eff>] inode_has_perm+0x54/0x5c
[<c0464c32>] __handle_mm_fault+0x463/0xaac
[<c0486290>] do_ioctl+0x47/0x5d
[<c04867f9>] vfs_ioctl+0x47b/0x4d3
[<c0486899>] sys_ioctl+0x48/0x5f
[<c0404f17>] syscall_call+0x7/0xb
=======================
Code: 0...
2012 Mar 07
1
[HELP!]GFS2 in the xen 4.1.2 does not work!
[This email is either empty or too large to be displayed at this time]