[lkml]   [2004]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.6.6-rc3: modular DVB tda1004x broken
>>>>> On Mon, 3 May 2004 13:42:54 -0700 (PDT), Linus Torvalds <> said:

Linus> Rule: every architecture needs to implement its own kernel
Linus> "execve()" function some way. Everything else is done by the
Linus> architecture-independent <linux/unistd.h> translation layer.

Looks good to me.

Linus> The only change here is that this makes "open()" and friends
Linus> depend on the "sys_open()" and friends EXPORT's for
Linus> modules. Right now it appears that
Linus> sys_open/sys_lseek/sys_read are all EXPORT_SYMBOL_GPL's. That
Linus> sounds pretty insane anyway (it's not like we can claim that
Linus> "sys_open()" is some _internal_ interface), so I'd be
Linus> inclined to just change them all to regular EXPORT_SYMBOL's.

Does the rule have to be that all sys_FOO() entry-points must be
exported via EXPORT_SYMBOL()? Otherwise we have the strange issue
where a kernel-module may not be able to (easily) invoke a system call
which it could formerly invoke via _syscallN(). For example, the ATI
driver wants to call mlock()/munlock(). While this happens to be a
proprietary/binary-only driver, the same issue can arise with GPL'd

Linus> Comments? To me, this is a pretty clear cleanup (and I left
Linus> the old _syscallX() crud alone, even though we could remove
Linus> it now entirely).

In my opinion, it would be good to remove _syscallX() altogether.

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

 \ /
  Last update: 2005-03-22 14:02    [W:0.093 / U:7.304 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site