lists.openwall.net   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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 11 Jun 2011 00:14:02 +0200 (CEST)
From:	Jesper Juhl <jj@...osbits.net>
To:	linux-kernel@...r.kernel.org
cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	Jonas Gorski <jonas.gorski@...il.com>,
	Al Viro <viro@...iv.linux.org.uk>,
	"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>
Subject: Why is CONFIG_FHANDLE an option??

Hello

I just configured a new kernel based on a recent git checkout and when I 
had copied in my old configuration and did a "make oldconfig"I was greeted 
with

    open by fhandle syscalls (FHANDLE) [N/y/?] (NEW)

Ok, so I read the help text description and learn that it's about two new 
syscalls - open_by_handle_at(2) and name_to_handle_at(2).

My first thought at this point was "why are new syscalls even an option"?

Syscalls are in my oppinion ABI - having optional syscalls is just about 
as bad as removing a syscall. It basically means that users cannot know if 
the syscall is there and will need to test (it's bad enough having to 
check the kernel version, having to check for specific syscalls as well 
is just, well, annoying at best). 

Why are we making these optional?
I'd say we should just add them unconditionally or not have them at all. 
One should be able to say that "since Linux 3.0 these syscalls are 
available", not "since Linux 3.0 these syscalls *may* be available"... 
We'll just end up in a situation where some distributors enable the 
syscalls, some don't and it'll all be a mess for users... either we have 
them or we don't.

Ok, long rant, sorry about that... but really; why are they optional??


-- 
Jesper Juhl <jj@...osbits.net>       http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ