- fdtable-make-fdarray-and-fdsets-equal-in-size-slim.patch removed from -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 removed from the -mm tree.  Its filename was
     fdtable-make-fdarray-and-fdsets-equal-in-size-slim.patch

This patch was dropped because it was folded into slim-main-patch.patch

------------------------------------------------------
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
@@ -157,7 +157,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

slim-main-patch.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