lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 20 Sep 2007 12:46:09 +0400
From:	Pavel Emelyanov <>
To:	Andrew Morton <>
CC:	"J. Bruce Fields" <>,
	Linux Kernel Mailing List <>,
Subject: Re: [PATCH] Rework /proc/locks via seq_files and seq_list helpers

Pavel Emelyanov wrote:
> Currently /proc/locks is shown with a proc_read function, but
> its behavior is rather complex as it has to manually handle
> current offset and buffer length. On the other hand, files 
> that show objects from lists can be easily reimplemented using
> the sequential files and the seq_list_XXX() helpers.
> This saves (as usually) 16 lines of code and more than 200 from
> the .text section.
> This patch looks rather ugly, as diff often uses curly braces
> as not-changed lines, but I haven't managed to organize the 
> code to make diff look better. Except for move the whole proc
> related stuff upper/lower in the locks.c file...
> Fixed the problem, spotted by J. Bruce Fields, about the fl
> variable reuse.
> Signed-off-by: Pavel Emelyanov <>

OOPS! Please disregard, wrong comment was copied :(
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists