All of lore.kernel.org
 help / color / mirror / Atom feed
* Why is CONFIG_FHANDLE an option??
@ 2011-06-10 22:14 Jesper Juhl
  2011-06-10 22:39 ` Al Viro
  0 siblings, 1 reply; 7+ messages in thread
From: Jesper Juhl @ 2011-06-10 22:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds, Jonas Gorski, Al Viro, Aneesh Kumar K.V

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@chaosbits.net>       http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-10 23:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10 22:14 Why is CONFIG_FHANDLE an option?? Jesper Juhl
2011-06-10 22:39 ` Al Viro
2011-06-10 22:38   ` Jesper Juhl
2011-06-10 22:47   ` Al Viro
2011-06-10 22:42     ` Jesper Juhl
2011-06-10 22:58       ` Al Viro
2011-06-10 23:10   ` Alexey Dobriyan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.