+ fdtable-make-fdarray-and-fdsets-equal-in-size-slim.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     fdtable: Make fdarray and fdsets equal in size (slim part)

has been added to the -mm tree.  Its filename is

     fdtable-make-fdarray-and-fdsets-equal-in-size-slim.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: fdtable: Make fdarray and fdsets equal in size (slim part)
From: Vadim Lobanov <vlobanov@xxxxxxxxxxxxx>

Update slim for fdtable-make-fdarray-and-fdsets-equal-in-size.patch

Signed-off-by: Vadim Lobanov <vlobanov@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 security/slim/slm_main.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN security/slim/slm_main.c~fdtable-make-fdarray-and-fdsets-equal-in-size-slim security/slim/slm_main.c
--- a/security/slim/slm_main.c~fdtable-make-fdarray-and-fdsets-equal-in-size-slim
+++ a/security/slim/slm_main.c
@@ -156,7 +156,8 @@ static int has_file_wperm(struct slm_fil
 	spin_lock(&files->file_lock);
 	fdt = files_fdtable(files);
 
-	while((fd=find_next_bit(fdt->open_fds->fds_bits, fdt->max_fdset, fd)) < fdt->max_fdset) {
+	while ((fd = find_next_bit(fdt->open_fds->fds_bits,
+				   fdt->max_fds, fd)) < fdt->max_fds) {
 		file = fdt->fd[fd++];
 		if (file)
 			rc = mark_has_file_wperm(file, cur_level);
_

Patches currently in -mm which might be from vlobanov@xxxxxxxxxxxxx are

origin.patch
fdtable-delete-pointless-code-in-dup_fd.patch
fdtable-make-fdarray-and-fdsets-equal-in-size.patch
fdtable-remove-the-free_files-field.patch
fdtable-implement-new-pagesize-based-fdtable-allocation-scheme.patch
fdtable-make-fdarray-and-fdsets-equal-in-size-slim.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux