diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-23 12:12:26 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-23 12:12:26 -0400 |
| commit | 57d19e80f459dd845fb3cfeba8e6df8471bac142 (patch) | |
| tree | 8254766715720228db3d50f1ef3c7fe003c06d65 /security | |
| parent | ee9ec4f82049c678373a611ce20ac67fe9ad836e (diff) | |
| parent | e64851f5a0ad6ec991f74ebb3108c35aa0323d5f (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
b43: fix comment typo reqest -> request
Haavard Skinnemoen has left Atmel
cris: typo in mach-fs Makefile
Kconfig: fix copy/paste-ism for dell-wmi-aio driver
doc: timers-howto: fix a typo ("unsgined")
perf: Only include annotate.h once in tools/perf/util/ui/browsers/annotate.c
md, raid5: Fix spelling error in comment ('Ofcourse' --> 'Of course').
treewide: fix a few typos in comments
regulator: change debug statement be consistent with the style of the rest
Revert "arm: mach-u300/gpio: Fix mem_region resource size miscalculations"
audit: acquire creds selectively to reduce atomic op overhead
rtlwifi: don't touch with treewide double semicolon removal
treewide: cleanup continuations and remove logging message whitespace
ath9k_hw: don't touch with treewide double semicolon removal
include/linux/leds-regulator.h: fix syntax in example code
tty: fix typo in descripton of tty_termios_encode_baud_rate
xtensa: remove obsolete BKL kernel option from defconfig
m68k: fix comment typo 'occcured'
arch:Kconfig.locks Remove unused config option.
treewide: remove extra semicolons
...
Diffstat (limited to 'security')
| -rw-r--r-- | security/selinux/selinuxfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index c0e1a0f52462..2d3373b2e256 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c | |||
| @@ -280,7 +280,7 @@ static ssize_t sel_write_disable(struct file *file, const char __user *buf, | |||
| 280 | 280 | ||
| 281 | length = -ENOMEM; | 281 | length = -ENOMEM; |
| 282 | if (count >= PAGE_SIZE) | 282 | if (count >= PAGE_SIZE) |
| 283 | goto out;; | 283 | goto out; |
| 284 | 284 | ||
| 285 | /* No partial writes. */ | 285 | /* No partial writes. */ |
| 286 | length = -EINVAL; | 286 | length = -EINVAL; |
| @@ -876,12 +876,12 @@ static ssize_t sel_write_user(struct file *file, char *buf, size_t size) | |||
| 876 | 876 | ||
| 877 | length = task_has_security(current, SECURITY__COMPUTE_USER); | 877 | length = task_has_security(current, SECURITY__COMPUTE_USER); |
| 878 | if (length) | 878 | if (length) |
| 879 | goto out;; | 879 | goto out; |
| 880 | 880 | ||
| 881 | length = -ENOMEM; | 881 | length = -ENOMEM; |
| 882 | con = kzalloc(size + 1, GFP_KERNEL); | 882 | con = kzalloc(size + 1, GFP_KERNEL); |
| 883 | if (!con) | 883 | if (!con) |
| 884 | goto out;; | 884 | goto out; |
| 885 | 885 | ||
| 886 | length = -ENOMEM; | 886 | length = -ENOMEM; |
| 887 | user = kzalloc(size + 1, GFP_KERNEL); | 887 | user = kzalloc(size + 1, GFP_KERNEL); |
| @@ -941,7 +941,7 @@ static ssize_t sel_write_member(struct file *file, char *buf, size_t size) | |||
| 941 | length = -ENOMEM; | 941 | length = -ENOMEM; |
| 942 | scon = kzalloc(size + 1, GFP_KERNEL); | 942 | scon = kzalloc(size + 1, GFP_KERNEL); |
| 943 | if (!scon) | 943 | if (!scon) |
| 944 | goto out;; | 944 | goto out; |
| 945 | 945 | ||
| 946 | length = -ENOMEM; | 946 | length = -ENOMEM; |
| 947 | tcon = kzalloc(size + 1, GFP_KERNEL); | 947 | tcon = kzalloc(size + 1, GFP_KERNEL); |
