|                                                                                                        |
Copyright © h-peter recktenwald, berlin, 2000 - Free for non-commercial use.
Lynx (etc) text mode tables arranged to 132 chars/line -
where if properly adjusted the tables appear most "readable"...
=> lynx

[intro] [a:index] [s:index] [#:index] [sys_fcntl]
[1..64] [65..128] [129..192] [193..256] [257..] [ref] [struc] [fcntl] [ioctl] [pguide] [man2]
[next] [back] [linux] [main] [bot] [top]
Syscalls pages archive (110K->1M), updated (2.3.0, ver. 1.66) man 2 pages (170K->1,2M)
Nie mehr Freies Denken dank Software-Patenten:

Rough guide, only, not a all 'reliable'!

 

By Sources Reference to Linux 2.4.20 Syscalls
Pse, note that this is preliminary, work under progress.


	/* [hp'2000..2002] *//* asmlinkage... syscall sources in linux i386-pc 2.4.20 */

		/usr/src/linux-2.4.20/fs/xattr.c
		sys_fgetxattr(int fd, char *name, void *value, size_t size)
		sys_flistxattr(int fd, char *list, size_t size)
		sys_fremovexattr(int fd, char *name)
		sys_fsetxattr(int fd, char *name, void *value, size_t size, int flags)
		sys_getxattr(char *path, char *name, void *value, size_t size)
		sys_lgetxattr(char *path, char *name, void *value, size_t size)
		sys_listxattr(char *path, char *list, size_t size)
		sys_llistxattr(char *path, char *list, size_t size)
		sys_lremovexattr(char *path, char *name)
		sys_lsetxattr(char *path, char *name, void *value, size_t size, int flags)
		sys_removexattr(char *path, char *name)
		sys_setxattr(char *path, char *name, void *value, size_t size, int flags)
		/usr/src/linux-2.4.20/fs/super.c
		long sys_sysfs(int option, unsigned long arg1, unsigned long arg2)
		long sys_ustat(dev_t dev, struct ustat * ubuf)
		/usr/src/linux-2.4.20/fs/open.c
		long sys_access(const char * filename, int mode)
		long sys_chdir(const char * filename)
		long sys_chmod(const char * filename, mode_t mode)
		long sys_chown(const char * filename, uid_t user, gid_t group)
		long sys_chroot(const char * filename)
		long sys_close(unsigned int fd)
		long sys_creat(const char * pathname, int mode)
		long sys_fchdir(unsigned int fd)
		long sys_fchmod(unsigned int fd, mode_t mode)
		long sys_fchown(unsigned int fd, uid_t user, gid_t group)
		long sys_fstatfs(unsigned int fd, struct statfs * buf)
		long sys_ftruncate(unsigned int fd, unsigned long length)
		long sys_ftruncate64(unsigned int fd, loff_t length)
		long sys_lchown(const char * filename, uid_t user, gid_t group)
		long sys_open(const char * filename, int flags, int mode)
		long sys_statfs(const char * path, struct statfs * buf)
		long sys_truncate(const char * path, unsigned long length)
		long sys_truncate64(const char * path, loff_t length)
		long sys_utime(char * filename, struct utimbuf * times)
		long sys_utimes(char * filename, struct timeval * utimes)
		long sys_vhangup(void)
		/usr/src/linux-2.4.20/fs/namespace.c
		long sys_oldumount(char * name)
		long sys_pivot_root(const char *new_root, const char *put_old)
		long sys_umount(char * name, int flags)
		/usr/src/linux-2.4.20/fs/namei.c
		long sys_link(const char * oldname, const char * newname)
		long sys_mkdir(const char * pathname, int mode)
		long sys_mknod(const char * filename, int mode, dev_t dev)
		long sys_rename(const char * oldname, const char * newname)
		long sys_rmdir(const char * pathname)
		long sys_symlink(const char * oldname, const char * newname)
		long sys_unlink(const char * pathname)
		/usr/src/linux-2.4.20/fs/locks.c
		long sys_flock(unsigned int fd, unsigned int cmd)
		/usr/src/linux-2.4.20/fs/fcntl.c
		long sys_dup(unsigned int fildes)
		long sys_dup2(unsigned int oldfd, unsigned int newfd)
		long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
		long sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg)
		/usr/src/linux-2.4.20/fs/exec.c
		long sys_uselib(const char * library)
		/usr/src/linux-2.4.20/fs/dcache.c
		long sys_getcwd(char *buf, unsigned long size)
		/usr/src/linux-2.4.20/fs/buffer.c
		long sys_bdflush(int func, long data)
		long sys_fdatasync(unsigned int fd)
		long sys_fsync(unsigned int fd)
		long sys_sync(void)
		/usr/src/linux-2.4.20/fs/readdir.c
		long sys_getdents(unsigned int fd, void * dirent, unsigned int count)
		long sys_getdents64(unsigned int fd, void * dirent, unsigned int count)
		/usr/src/linux-2.4.20/fs/read_write.c
		off_t sys_lseek(unsigned int fd, off_t offset, unsigned int origin)
		ssize_t sys_read(unsigned int fd, char * buf, size_t count)
		ssize_t sys_write(unsigned int fd, const char * buf, size_t count)
		/usr/src/linux-2.4.20/fs/filesystems.c
		sys_nfsservctl(int cmd, void *argp, void *resp)
		/usr/src/linux-2.4.20/fs/dquot.c
		long sys_quotactl(int cmd, const char *special, int id, caddr_t addr)
		/usr/src/linux-2.4.20/fs/stat.c
		long sys_fstat(unsigned int fd, struct __old_kernel_stat * statbuf)
		long sys_fstat64(unsigned long fd, struct stat64 * statbuf, long flags)
		long sys_lstat(char * filename, struct __old_kernel_stat * statbuf)
		long sys_lstat64(char * filename, struct stat64 * statbuf, long flags)
		long sys_newfstat(unsigned int fd, struct stat * statbuf)
		long sys_newlstat(char * filename, struct stat * statbuf)
		long sys_newstat(char * filename, struct stat * statbuf)
		long sys_readlink(const char * path, char * buf, int bufsiz)
		long sys_stat(char * filename, struct __old_kernel_stat * statbuf)
		long sys_stat64(char * filename, struct stat64 * statbuf, long flags)
		/usr/src/linux-2.4.20/fs/ioctl.c
		long sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
		/usr/src/linux-2.4.20/fs/select.c
		long sys_poll(struct pollfd * ufds, unsigned int nfds, long timeout)
		/usr/src/linux-2.4.20/fs/noquot.c
		long sys_quotactl(int cmd, const char *special, int id, caddr_t addr)
		/usr/src/linux-2.4.20/fs/nfsd/nfsctl.c
		handle_sys_nfsservctl(int cmd, void *opaque_argp, void *opaque_resp)
		/usr/src/linux-2.4.20/init/do_mounts.c
		long sys_chdir(const char *name);
		long sys_chroot(const char *name);
		long sys_fchdir(int fd);
		long sys_ioctl(int fd, int cmd, unsigned long arg);
		long sys_mkdir(const char *name, int mode);
		long sys_mknod(const char *name, int mode, dev_t dev);
		long sys_symlink(const char *old, const char *new);
		long sys_umount(char *name, int flags);
		long sys_unlink(const char *name);
		/usr/src/linux-2.4.20/kernel/timer.c
		long sys_getegid(void)
		long sys_geteuid(void)
		long sys_getgid(void)
		long sys_getpid(void)
		long sys_getppid(void)
		long sys_gettid(void)
		long sys_getuid(void)
		long sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp)
		unsigned long sys_alarm(unsigned int seconds)
		/usr/src/linux-2.4.20/kernel/time.c
		long sys_adjtimex(struct timex *txc_p)
		long sys_gettimeofday(struct timeval *tv, struct timezone *tz)
		long sys_settimeofday(struct timeval *tv, struct timezone *tz)
		long sys_stime(int * tptr)
		long sys_time(int * tloc)
		/usr/src/linux-2.4.20/kernel/signal.c
		/* Notify the system that a driver wants to block all signals for this
		/* Notify the system that blocking has ended. */
		sys_kill(int pid, int sig)
		sys_rt_sigaction(int sig, const struct sigaction *act, struct sigaction *oact,
		sys_rt_sigpending(sigset_t *set, size_t sigsetsize)
		sys_rt_sigprocmask(int how, sigset_t *set, sigset_t *oset, size_t sigsetsize)
		sys_rt_sigqueueinfo(int pid, int sig, siginfo_t *uinfo)
		sys_rt_sigtimedwait(const sigset_t *uthese, siginfo_t *uinfo,
		sys_sgetmask(void)
		sys_signal(int sig, __sighandler_t handler)
		sys_sigpending(old_sigset_t *set)
		sys_sigprocmask(int how, old_sigset_t *set, old_sigset_t *oset)
		sys_ssetmask(int newmask)
		sys_tkill(int pid, int sig)
		/usr/src/linux-2.4.20/kernel/sched.c
		long sys_nice(int increment)
		long sys_sched_get_priority_max(int policy)
		long sys_sched_get_priority_min(int policy)
		long sys_sched_getparam(pid_t pid, struct sched_param *param)
		long sys_sched_getscheduler(pid_t pid)
		long sys_sched_rr_get_interval(pid_t pid, struct timespec *interval)
		long sys_sched_setparam(pid_t pid, struct sched_param *param)
		long sys_sched_yield(void)
		/usr/src/linux-2.4.20/kernel/panic.c
		void sys_sync(void);	/* it's really int */
		/usr/src/linux-2.4.20/kernel/exit.c
		long sys_exit(int error_code)
		long sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru)
		long sys_waitpid(pid_t pid,unsigned int * stat_addr, int options)
		/usr/src/linux-2.4.20/kernel/sysctl.c
		long sys_sysctl(struct __sysctl_args *args)
		/usr/src/linux-2.4.20/kernel/sys.c
		long sys_getgroups(int gidsetsize, gid_t *grouplist)
		long sys_gethostname(char *name, int len)
		long sys_getpgid(pid_t pid)
		long sys_getpgrp(void)
		long sys_getpriority(int which, int who)
		long sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
		long sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid)
		long sys_getrlimit(unsigned int resource, struct rlimit *rlim)
		long sys_getrusage(int who, struct rusage *ru)
		long sys_getsid(pid_t pid)
		long sys_newuname(struct new_utsname * name)
		long sys_ni_syscall(void)
		long sys_old_getrlimit(unsigned int resource, struct rlimit *rlim)
		long sys_reboot(int magic1, int magic2, unsigned int cmd, void * arg)
		long sys_setdomainname(char *name, int len)
		long sys_setfsgid(gid_t gid)
		long sys_setfsuid(uid_t uid)
		long sys_setgid(gid_t gid)
		long sys_setgroups(int gidsetsize, gid_t *grouplist)
		long sys_sethostname(char *name, int len)
		long sys_setpgid(pid_t pid, pid_t pgid)
		long sys_setpriority(int which, int who, int niceval)
		long sys_setregid(gid_t rgid, gid_t egid)
		long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid)
		long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid)
		long sys_setreuid(uid_t ruid, uid_t euid)
		long sys_setrlimit(unsigned int resource, struct rlimit *rlim)
		long sys_setsid(void)
		long sys_setuid(uid_t uid)
		long sys_times(struct tms * tbuf)
		long sys_umask(int mask)
		/usr/src/linux-2.4.20/kernel/printk.c
		long sys_syslog(int type, char * buf, int len)
		/usr/src/linux-2.4.20/kernel/acct.c
		long sys_acct(const char * filename)
		long sys_acct(const char *name)
		/usr/src/linux-2.4.20/kernel/module.c
		sys_create_module(const char *name_user, size_t size)
		sys_delete_module(const char *name_user)
		sys_get_kernel_syms(struct kernel_sym *table)
		sys_init_module(const char *name_user, struct module *mod_user)
		sys_query_module(const char *name_user, int which, char *buf, size_t bufsize,
		/usr/src/linux-2.4.20/kernel/itimer.c
		long sys_getitimer(int which, struct itimerval *value)
		/usr/src/linux-2.4.20/kernel/info.c
		long sys_sysinfo(struct sysinfo *info)
		/usr/src/linux-2.4.20/kernel/exec_domain.c
		sys_personality(u_long personality)
		/usr/src/linux-2.4.20/kernel/capability.c
		long sys_capget(cap_user_header_t header, cap_user_data_t dataptr)
		long sys_capset(cap_user_header_t header, const cap_user_data_t data)
		/usr/src/linux-2.4.20/kernel/uid16.c
		long sys_chown16(const char * filename, old_uid_t user, old_gid_t group)
		long sys_fchown16(unsigned int fd, old_uid_t user, old_gid_t group)
		long sys_getegid16(void)
		long sys_geteuid16(void)
		long sys_getgid16(void)
		long sys_getgroups16(int gidsetsize, old_gid_t *grouplist)
		long sys_getresgid16(old_gid_t *rgid, old_gid_t *egid, old_gid_t *sgid)
		long sys_getresuid16(old_uid_t *ruid, old_uid_t *euid, old_uid_t *suid)
		long sys_getuid16(void)
		long sys_lchown16(const char * filename, old_uid_t user, old_gid_t group)
		long sys_setfsgid16(old_gid_t gid)
		long sys_setfsuid16(old_uid_t uid)
		long sys_setgid16(old_gid_t gid)
		long sys_setgroups16(int gidsetsize, old_gid_t *grouplist)
		long sys_setregid16(old_gid_t rgid, old_gid_t egid)
		long sys_setresgid16(old_gid_t rgid, old_gid_t egid, old_gid_t sgid)
		long sys_setresuid16(old_uid_t ruid, old_uid_t euid, old_uid_t suid)
		long sys_setreuid16(old_uid_t ruid, old_uid_t euid)
		long sys_setuid16(old_uid_t uid)
		long sys_chown(const char *, uid_t,gid_t);
		long sys_fchown(unsigned int, uid_t,gid_t);
		long sys_lchown(const char *, uid_t,gid_t);
		long sys_setfsgid(gid_t);
		long sys_setfsuid(uid_t);
		long sys_setgid(gid_t);
		long sys_setregid(gid_t, gid_t);
		long sys_setresgid(gid_t, gid_t, gid_t);
		long sys_setresuid(uid_t, uid_t, uid_t);
		long sys_setreuid(uid_t, uid_t);
		long sys_setuid(uid_t);
		/usr/src/linux-2.4.20/mm/mmap.c
		long sys_munmap(unsigned long addr, size_t len)
		unsigned long sys_brk(unsigned long brk)
		/usr/src/linux-2.4.20/mm/filemap.c
		long sys_madvise(unsigned long start, size_t len, int behavior)
		long sys_msync(unsigned long start, size_t len, int flags)
		ssize_t sys_readahead(int fd, loff_t offset, size_t count)
		ssize_t sys_sendfile(int out_fd, int in_fd, off_t *offset, size_t count)
		/usr/src/linux-2.4.20/mm/swapfile.c
		long sys_swapoff(const char * specialfile)
		long sys_swapon(const char * specialfile, int swap_flags)
		/usr/src/linux-2.4.20/mm/mprotect.c
		long sys_mprotect(unsigned long start, size_t len, unsigned long prot)
		/usr/src/linux-2.4.20/mm/mlock.c
		long sys_mlock(unsigned long start, size_t len)
		long sys_mlockall(int flags)
		long sys_munlock(unsigned long start, size_t len)
		long sys_munlockall(void)
		/usr/src/linux-2.4.20/mm/mremap.c
		unsigned long sys_mremap(unsigned long addr,
		/usr/src/linux-2.4.20/include/linux/sysctl.h
		long sys_sysctl(struct __sysctl_args *);
		/usr/src/linux-2.4.20/include/linux/swap.h
		long sys_swapoff(const char *);
		long sys_swapon(const char *, int);
		/usr/src/linux-2.4.20/include/linux/sched.h
		long sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru);
		/usr/src/linux-2.4.20/include/linux/fs.h
		long sys_close(unsigned int);	/* yes, it's really unsigned */
		long sys_open(const char *, int, int);
		/usr/src/linux-2.4.20/include/linux/shm.h
		long sys_shmat (int shmid, char *shmaddr, int shmflg, unsigned long *addr);
		long sys_shmctl (int shmid, int cmd, struct shmid_ds *buf);
		long sys_shmdt (char *shmaddr);
		long sys_shmget (key_t key, size_t size, int flag);
		/usr/src/linux-2.4.20/include/linux/sem.h
		long sys_semctl (int semid, int semnum, int cmd, union semun arg);
		long sys_semget (key_t key, int nsems, int semflg);
		long sys_semop (int semid, struct sembuf *sops, unsigned nsops);
		/usr/src/linux-2.4.20/include/linux/msg.h
		long sys_msgctl (int msqid, int cmd, struct msqid_ds *buf);
		long sys_msgget (key_t key, int msgflg);
		long sys_msgrcv (int msqid, struct msgbuf *msgp, size_t msgsz, long msgtyp, int msgflg);
		long sys_msgsnd (int msqid, struct msgbuf *msgp, size_t msgsz, int msgflg);
		/usr/src/linux-2.4.20/include/linux/nfsd/syscall.h
		long	sys_nfsservctl(int, void *, void *);
		/usr/src/linux-2.4.20/net/socket.c
		long sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
		long sys_bind(int fd, struct sockaddr *umyaddr, int addrlen)
		long sys_connect(int fd, struct sockaddr *uservaddr, int addrlen)
		long sys_getpeername(int fd, struct sockaddr *usockaddr, int *usockaddr_len)
		long sys_getsockname(int fd, struct sockaddr *usockaddr, int *usockaddr_len)
		long sys_getsockopt(int fd, int level, int optname, char *optval, int *optlen)
		long sys_listen(int fd, int backlog)
		long sys_recv(int fd, void * ubuf, size_t size, unsigned flags)
		long sys_recvmsg(int fd, struct msghdr *msg, unsigned int flags)
		long sys_send(int fd, void * buff, size_t len, unsigned flags)
		long sys_sendmsg(int fd, struct msghdr *msg, unsigned flags)
		long sys_setsockopt(int fd, int level, int optname, char *optval, int optlen)
		long sys_shutdown(int fd, int how)
		long sys_socket(int family, int type, int protocol)
		long sys_socketcall(int call, unsigned long *args)
		long sys_socketpair(int family, int type, int protocol, int usockvec[2])
		/usr/src/linux-2.4.20/ipc/util.c
		long sys_msgctl (int msqid, int cmd, struct msqid_ds *buf)
		long sys_msgget (key_t key, int msgflg)
		long sys_msgsnd (int msqid, struct msgbuf *msgp, size_t msgsz, int msgflg)
		long sys_semctl (int semid, int semnum, int cmd, union semun arg)
		long sys_semget (key_t key, int nsems, int semflg)
		long sys_semop (int semid, struct sembuf *sops, unsigned nsops)
		long sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr)
		long sys_shmctl (int shmid, int cmd, struct shmid_ds *buf)
		long sys_shmdt (char *shmaddr)
		long sys_shmget (key_t key, size_t size, int shmflag)
		/usr/src/linux-2.4.20/ipc/sem.c
		long sys_semctl (int semid, int semnum, int cmd, union semun arg)
		long sys_semget (key_t key, int nsems, int semflg)
		long sys_semop (int semid, struct sembuf *tsops, unsigned nsops)
		/usr/src/linux-2.4.20/ipc/msg.c
		long sys_msgctl (int msqid, int cmd, struct msqid_ds *buf)
		long sys_msgget (key_t key, int msgflg)
		long sys_msgsnd (int msqid, struct msgbuf *msgp, size_t msgsz, int msgflg)
		/usr/src/linux-2.4.20/ipc/shm.c
		long sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *raddr)
		long sys_shmctl (int shmid, int cmd, struct shmid_ds *buf)
		long sys_shmdt (char *shmaddr)
		long sys_shmget (key_t key, size_t size, int shmflg)
		/usr/src/linux-2.4.20/drivers/char/vt.c
		long sys_ioperm(unsigned long from, unsigned long num, int on);
		/usr/src/linux-2.4.20/drivers/pci/syscall.c
		sys_pciconfig_read(unsigned long bus, unsigned long dfn,
		sys_pciconfig_write(unsigned long bus, unsigned long dfn,
		/usr/src/linux-2.4.20/drivers/message/fusion/mptctl.c
		int sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg);
		/usr/src/linux-2.4.20/arch/i386/kernel/traps.c
		int system_call(void);
		/usr/src/linux-2.4.20/arch/i386/kernel/vm86.c
		int sys_vm86(unsigned long subfunction, struct vm86plus_struct * v86)
		int sys_vm86old(struct vm86_struct * v86)
		/usr/src/linux-2.4.20/arch/i386/kernel/signal.c
		int sys_rt_sigreturn(unsigned long __unused)
		int sys_sigreturn(unsigned long __unused)
		/usr/src/linux-2.4.20/arch/i386/kernel/ptrace.c
		int sys_ptrace(long request, long pid, long addr, long data)
		void syscall_trace(void)
		/usr/src/linux-2.4.20/arch/i386/kernel/process.c
		int sys_clone(struct pt_regs regs)
		int sys_execve(struct pt_regs regs)
		int sys_fork(struct pt_regs regs)
		int sys_vfork(struct pt_regs regs)
		/usr/src/linux-2.4.20/arch/i386/kernel/sys_i386.c
		int sys_olduname(struct oldold_utsname * name)
		int sys_pause(void)
		int sys_pipe(unsigned long * fildes)
		int sys_uname(struct old_utsname * name)
		int sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
		/usr/src/linux-2.4.20/arch/i386/kernel/ioport.c
		int sys_ioperm(unsigned long from, unsigned long num, int turn_on)
		int sys_iopl(unsigned long unused)
		/usr/src/linux-2.4.20/arch/i386/kernel/ldt.c
		int sys_modify_ldt(int func, void *ptr, unsigned long bytecount)

 


Generated with "fdsyscalls" from kernel sources."


 


Generated with "fdsyscalls" from kernel sources."


[top] [back] [main page]
[intro] [a:index] [#:index] [1..64] [65..128] [129..192] [193..256] [257..] [pguide]

 

H.-Peter Recktenwald, Berlin, 19.Aug.2002 = .hpr.l0 = : 575