* System call number
@ 2004-11-13 23:27 Josef E. Galea
2004-11-13 23:50 ` Randy.Dunlap
2004-11-13 23:59 ` Måns Rullgård
0 siblings, 2 replies; 6+ messages in thread
From: Josef E. Galea @ 2004-11-13 23:27 UTC (permalink / raw)
To: linux-kernel
Hi,
Can anyone tell me the system call number for the function
write_swap_page() (in kernel/power/pmdisk.c) as I can't find it in unistd.h.
Thanks
Josef E. Galea
josefeg@euroweb.net.mt
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: System call number
2004-11-13 23:27 System call number Josef E. Galea
@ 2004-11-13 23:50 ` Randy.Dunlap
2004-11-13 23:55 ` Jan Engelhardt
2004-11-14 8:50 ` Josef E. Galea
2004-11-13 23:59 ` Måns Rullgård
1 sibling, 2 replies; 6+ messages in thread
From: Randy.Dunlap @ 2004-11-13 23:50 UTC (permalink / raw)
To: Josef E. Galea; +Cc: linux-kernel
Josef E. Galea wrote:
> Hi,
> Can anyone tell me the system call number for the function
> write_swap_page() (in kernel/power/pmdisk.c) as I can't find it in
> unistd.h.
What kernel version? I don't see what source file in
2.6.10-rc1-bk23.
There are lots of kernel functions that don't have syscall numbers.
E.g, write_page() in kernel/power/swsusp.c.
--
~Randy
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: System call number
2004-11-13 23:50 ` Randy.Dunlap
@ 2004-11-13 23:55 ` Jan Engelhardt
2004-11-14 8:50 ` Josef E. Galea
1 sibling, 0 replies; 6+ messages in thread
From: Jan Engelhardt @ 2004-11-13 23:55 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: Josef E. Galea, linux-kernel
>> Hi,
>
>> Can anyone tell me the system call number for the function
>> write_swap_page() (in kernel/power/pmdisk.c) as I can't find it in
>> unistd.h.
For all others, see linux/arch/<YOURARCH>/kernel/entry.S
>What kernel version? I don't see what source file in
>2.6.10-rc1-bk23.
>
>There are lots of kernel functions that don't have syscall numbers.
>E.g, write_page() in kernel/power/swsusp.c.
Jan Engelhardt
--
Gesellschaft für Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 Göttingen, www.gwdg.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: System call number
2004-11-13 23:27 System call number Josef E. Galea
2004-11-13 23:50 ` Randy.Dunlap
@ 2004-11-13 23:59 ` Måns Rullgård
2004-11-14 0:33 ` Randy.Dunlap
1 sibling, 1 reply; 6+ messages in thread
From: Måns Rullgård @ 2004-11-13 23:59 UTC (permalink / raw)
To: linux-kernel
"Josef E. Galea" <josefeg@euroweb.net.mt> writes:
> Hi,
>
> Can anyone tell me the system call number for the function
> write_swap_page() (in kernel/power/pmdisk.c) as I can't find it in
> unistd.h.
What makes you believe that function is a system call in the first
place? It doesn't look like one to me. Hint: system calls have names
prefixed with sys_ (are there any exceptions?).
--
Måns Rullgård
mru@inprovide.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: System call number
2004-11-13 23:59 ` Måns Rullgård
@ 2004-11-14 0:33 ` Randy.Dunlap
0 siblings, 0 replies; 6+ messages in thread
From: Randy.Dunlap @ 2004-11-14 0:33 UTC (permalink / raw)
To: Måns Rullgård; +Cc: linux-kernel
Måns Rullgård wrote:
> "Josef E. Galea" <josefeg@euroweb.net.mt> writes:
>
>
>>Hi,
>>
>>Can anyone tell me the system call number for the function
>>write_swap_page() (in kernel/power/pmdisk.c) as I can't find it in
>>unistd.h.
>
>
> What makes you believe that function is a system call in the first
> place? It doesn't look like one to me. Hint: system calls have names
> prefixed with sys_ (are there any exceptions?).
Not that I know of. I changed a few syscall names roughly 1 year
ago so that they begin with sys_xyz (and some that began with
sys_xyz that were not syscalls, I changed those also. :)
--
~Randy
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: System call number
2004-11-13 23:50 ` Randy.Dunlap
2004-11-13 23:55 ` Jan Engelhardt
@ 2004-11-14 8:50 ` Josef E. Galea
1 sibling, 0 replies; 6+ messages in thread
From: Josef E. Galea @ 2004-11-14 8:50 UTC (permalink / raw)
To: linux-kernel
Randy.Dunlap wrote:
> Josef E. Galea wrote:
>
>> Hi,
>
>
>> Can anyone tell me the system call number for the function
>> write_swap_page() (in kernel/power/pmdisk.c) as I can't find it in
>> unistd.h.
>
>
> What kernel version? I don't see what source file in
> 2.6.10-rc1-bk23.
>
> There are lots of kernel functions that don't have syscall numbers.
> E.g, write_page() in kernel/power/swsusp.c.
>
Version 2.6.8.1. The mention file can be found at
http://lxr.linux.no/source/kernel/power/pmdisk.c?v=2.6.8.1#L191
Thanks
Josef
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-11-14 8:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-13 23:27 System call number Josef E. Galea
2004-11-13 23:50 ` Randy.Dunlap
2004-11-13 23:55 ` Jan Engelhardt
2004-11-14 8:50 ` Josef E. Galea
2004-11-13 23:59 ` Måns Rullgård
2004-11-14 0:33 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox