The patch titled
security-enable-atomic-inode-security-labeling-use-kstrdup
has been added to the -mm tree. Its filename is
security-enable-atomic-inode-security-labeling-use-kstrdup.patch
Patches currently in -mm which might be from [EMAIL PROTECTED] are
name_to_dev_t-warning-fix.patch
git-netdev-janitor-fixup.patch
wireless-device-attr-fixes.patch
wireless-device-attr-fixes-2.patch
ipw2100-old-gcc-fix.patch
ieee80211_module-build-fixes.patch
ieee80211_tx-build-fix.patch
ieee80211_rx-build-fix.patch
ieee80211_crypt-build-fix.patch
ieee80211_crypt_ccmp-build-fix.patch
ieee80211_crypt_wep-build-fix.patch
ieee80211_crypt_tkip-build-fix.patch
revert-gregkh-pci-pci-assign-unassigned-resources.patch
dpt_i2o-warning-fix.patch
aic79xx-ahd_linux_dev_reset-cleanup.patch
bk-watchdog.patch
zatm-kfree-fix.patch
e1000-printk-warning-fix-2.patch
net-add-driver-for-the-nic-on-cell-blades-kconfig-fix.patch
ipw2200-build-fix.patch
security-enable-atomic-inode-security-labeling-use-kstrdup.patch
x86_64-div-by-zero-fix.patch
alpha-pgprot_uncached-comment.patch
page_uptodate-locking-scalability-fix.patch
yealink-updates.patch
pselect-ppoll-system-calls-tidy.patch
pselect-ppoll-system-calls-sigset_t-fix-2.patch
pselect-ppoll-system-calls-sigset_t-fix-3.patch
xip-empty_zero_page-build-fix.patch
reset-real_timer-target-on-exec-leader-change-coding-style-fixes.patch
provide-better-printk-support-for-smp-machines-tidy.patch
smsc-ircc2-pm-cleanup-do-not-close-device-when-suspending-fixes.patch
connector-exit-notifier-fix.patch
connector-add-a-fork-connector-use-after-free-fix.patch
jbd-split-checkpoint-lists-tweaks.patch
revert-fix-broken-kmalloc_node-in-rc1-rc2.patch
nr_blockdev_pages-in_interrupt-warning.patch
sysfs-crash-debugging.patch
asfs-filesystem-driver-fixes.patch
reiser4-swsusp-build-fix.patch
reiser4-printk-warning-fix.patch
reiser4-mm-remove-pg_highmem-fix.patch
v9fs-debug-and-support-routines-fix.patch
timer-initialization-cleanup-define_timer-pluto-fix.patch
From: Andrew Morton <[EMAIL PROTECTED]>
Cc: Stephen Smalley <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
security/selinux/hooks.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
diff -puN
security/selinux/hooks.c~security-enable-atomic-inode-security-labeling-use-kstrdup
security/selinux/hooks.c
---
25/security/selinux/hooks.c~security-enable-atomic-inode-security-labeling-use-kstrdup
Fri Jul 8 16:35:01 2005
+++ 25-akpm/security/selinux/hooks.c Fri Jul 8 16:35:01 2005
@@ -2058,10 +2058,9 @@ static int selinux_inode_init_security(s
inode_security_set_sid(inode, newsid);
- namep = kmalloc(sizeof(XATTR_SELINUX_SUFFIX), GFP_KERNEL);
+ namep = kstrdup(XATTR_SELINUX_SUFFIX, GFP_KERNEL);
if (!namep)
return -ENOMEM;
- strcpy(namep, XATTR_SELINUX_SUFFIX);
*name = namep;
rc = security_sid_to_context(newsid, &context, len);
_
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html