/* * AppArmor security module * * This file contains AppArmor capability mediation definitions. * * Copyright (C) 1998-2008 Novell/SUSE * Copyright 2009-2013 Canonical Ltd. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation, version 2 of the * License. */ #ifndef __AA_CAPABILITY_H #define __AA_CAPABILITY_H #include #include "apparmorfs.h" struct aa_profile; /* aa_caps - confinement data for capabilities * @allowed: capabilities mask * @audit: caps that are to be audited * @quiet: caps that should not be audited * @kill: caps that when requested will result in the task being killed * @extended: caps that are subject finer grained mediation */ struct aa_caps { kernel_cap_t allow; kernel_cap_t audit; kernel_cap_t quiet; kernel_cap_t kill; kernel_cap_t extended; }; extern struct aa_fs_entry aa_fs_entry_caps[]; int aa_capable(struct aa_profile *profile, int cap, int audit); static inline void aa_free_cap_rules(struct aa_caps *caps) { /* NOP */ } #endif /* __AA_CAPBILITY_H */ ove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/drivers/usb/storage/jumpshot.c
ted'>3
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-12-26 22:58:19 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-26 17:30:24 -0800
commitb9d9d6911bd5c370ad4b3aa57d758c093d17aed5 (patch)
treeaa66dffa65f105ab98d5db3707c2262146d7fd8f /net/ceph/crush/crush.c
parentb4b8664d291ac1998e0f0bcdc96b6397f0fe68b3 (diff)
smp/hotplug: Undo tglxs brainfart
The attempt to prevent overwriting an active state resulted in a disaster which effectively disables all dynamically allocated hotplug states. Cleanup the mess. Fixes: dc280d936239 ("cpu/hotplug: Prevent overwriting of callbacks") Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de> Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/ceph/crush/crush.c')