|                                                                                                        |
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)

By Sources Reference to Linux 2.2.19 Syscalls

Please, note that this is preliminary, work under progress.


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

		/usr/src/linux-2.2.19/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.2.19/arch/i386/kernel/ldt.c
		int sys_modify_ldt(int func, void *ptr, unsigned long bytecount)
		/usr/src/linux-2.2.19/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_idle(void)
		int sys_vfork(struct pt_regs regs)
		/usr/src/linux-2.2.19/arch/i386/kernel/ptrace.c
		int sys_ptrace(long request, long pid, long addr, long data)
		void syscall_trace(void)
		/usr/src/linux-2.2.19/arch/i386/kernel/signal.c
		int sys_rt_sigreturn(unsigned long __unused)
		int sys_sigreturn(unsigned long __unused)
		/usr/src/linux-2.2.19/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.2.19/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.2.19/drivers/char/vt.c
		int sys_ioperm(unsigned long from, unsigned long num, int on);
		/usr/src/linux-2.2.19/fs/buffer.c
		int sys_bdflush(int func, long data)
		int sys_fdatasync(unsigned int fd)
		int sys_fsync(unsigned int fd)
		int sys_sync(void)
		/usr/src/linux-2.2.19/fs/dcache.c
		int sys_getcwd(char *buf, unsigned long size)
		/usr/src/linux-2.2.19/fs/dquot.c
		int sys_quotactl(int cmd, const char *special, int id, caddr_t addr)
		/usr/src/linux-2.2.19/fs/exec.c
		int sys_uselib(const char * library)
		/usr/src/linux-2.2.19/fs/fcntl.c
		int sys_dup(unsigned int fildes)
		int sys_dup2(unsigned int oldfd, unsigned int newfd)
		long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
		/usr/src/linux-2.2.19/fs/filesystems.c
		sys_nfsservctl(int cmd, void *argp, void *resp)
		/usr/src/linux-2.2.19/fs/ioctl.c
		int sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
		/usr/src/linux-2.2.19/fs/locks.c
		int sys_flock(unsigned int fd, unsigned int cmd)
		/usr/src/linux-2.2.19/fs/namei.c
		int sys_link(const char * oldname, const char * newname)
		int sys_mkdir(const char * pathname, int mode)
		int sys_mknod(const char * filename, int mode, dev_t dev)
		int sys_rename(const char * oldname, const char * newname)
		int sys_rmdir(const char * pathname)
		int sys_symlink(const char * oldname, const char * newname)
		int sys_unlink(const char * pathname)
		/usr/src/linux-2.2.19/fs/nfsd/nfsctl.c
		handle_sys_nfsservctl(int cmd, void *opaque_argp, void *opaque_resp)
		/usr/src/linux-2.2.19/fs/noquot.c
		int sys_quotactl(int cmd, const char *special, int id, caddr_t addr)
		/usr/src/linux-2.2.19/fs/open.c
		int sys_access(const char * filename, int mode)
		int sys_chdir(const char * filename)
		int sys_chmod(const char * filename, mode_t mode)
		int sys_chown(const char * filename, uid_t user, gid_t group)
		int sys_chroot(const char * filename)
		int sys_close(unsigned int fd)
		int sys_creat(const char * pathname, int mode)
		int sys_fchdir(unsigned int fd)
		int sys_fchmod(unsigned int fd, mode_t mode)
		int sys_fchown(unsigned int fd, uid_t user, gid_t group)
		int sys_fstatfs(unsigned int fd, struct statfs * buf)
		int sys_ftruncate(unsigned int fd, unsigned long length)
		int sys_lchown(const char * filename, uid_t user, gid_t group)
		int sys_open(const char * filename, int flags, int mode)
		int sys_statfs(const char * path, struct statfs * buf)
		int sys_truncate(const char * path, unsigned long length)
		int sys_utime(char * filename, struct utimbuf * times)
		int sys_utimes(char * filename, struct timeval * utimes)
		int sys_vhangup(void)
		/usr/src/linux-2.2.19/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.2.19/fs/readdir.c
		int sys_getdents(unsigned int fd, void * dirent, unsigned int count)
		/usr/src/linux-2.2.19/fs/select.c
		int sys_poll(struct pollfd * ufds, unsigned int nfds, long timeout)
		/usr/src/linux-2.2.19/fs/stat.c
		int sys_fstat(unsigned int fd, struct __old_kernel_stat * statbuf)
		int sys_lstat(char * filename, struct __old_kernel_stat * statbuf)
		int sys_newfstat(unsigned int fd, struct stat * statbuf)
		int sys_newlstat(char * filename, struct stat * statbuf)
		int sys_newstat(char * filename, struct stat * statbuf)
		int sys_readlink(const char * path, char * buf, int bufsiz)
		int sys_stat(char * filename, struct __old_kernel_stat * statbuf)
		/usr/src/linux-2.2.19/fs/super.c
		int sys_oldumount(char * name)
		int sys_sysfs(int option, unsigned long arg1, unsigned long arg2)
		int sys_umount(char * name, int flags)
		int sys_ustat(dev_t dev, struct ustat * ubuf)
		/usr/src/linux-2.2.19/include/linux/fs.h
		int sys_close(unsigned int);		/* yes, it's really unsigned */
		int sys_open(const char *, int, int);
		/usr/src/linux-2.2.19/include/linux/msg.h
		int sys_msgctl (int msqid, int cmd, struct msqid_ds *buf);
		int sys_msgget (key_t key, int msgflg);
		int sys_msgsnd (int msqid, struct msgbuf *msgp, size_t msgsz, int msgflg);
		/usr/src/linux-2.2.19/include/linux/nfsd/syscall.h
		int	sys_nfsservctl(int, void *, void *);
		/usr/src/linux-2.2.19/include/linux/personality.h
		int sys_personality(unsigned long personality);
		/usr/src/linux-2.2.19/include/linux/sem.h
		int sys_semctl (int semid, int semnum, int cmd, union semun arg);
		int sys_semget (key_t key, int nsems, int semflg);
		int sys_semop (int semid, struct sembuf *sops, unsigned nsops);
		/usr/src/linux-2.2.19/include/linux/shm.h
		int sys_shmat (int shmid, char *shmaddr, int shmflg, unsigned long *addr);
		int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf);
		int sys_shmdt (char *shmaddr);
		int sys_shmget (key_t key, int size, int flag);
		/usr/src/linux-2.2.19/include/linux/swap.h
		int sys_swapoff(const char *);
		int sys_swapon(const char *, int);
		/usr/src/linux-2.2.19/include/linux/sysctl.h
		int sys_sysctl(struct __sysctl_args *);
		/usr/src/linux-2.2.19/ipc/msg.c
		int sys_msgctl (int msqid, int cmd, struct msqid_ds *buf)
		int sys_msgget (key_t key, int msgflg)
		int sys_msgsnd (int msqid, struct msgbuf *msgp, size_t msgsz, int msgflg)
		/usr/src/linux-2.2.19/ipc/sem.c
		int sys_semctl (int semid, int semnum, int cmd, union semun arg)
		int sys_semget (key_t key, int nsems, int semflg)
		int sys_semop (int semid, struct sembuf *tsops, unsigned nsops)
		/usr/src/linux-2.2.19/ipc/shm.c
		int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *raddr)
		int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf)
		int sys_shmdt (char *shmaddr)
		int sys_shmget (key_t key, int size, int shmflg)
		/usr/src/linux-2.2.19/ipc/util.c
		int sys_msgctl (int msqid, int cmd, struct msqid_ds *buf)
		int sys_msgget (key_t key, int msgflg)
		int sys_msgsnd (int msqid, struct msgbuf *msgp, size_t msgsz, int msgflg)
		int sys_semctl (int semid, int semnum, int cmd, union semun arg)
		int sys_semget (key_t key, int nsems, int semflg)
		int sys_semop (int semid, struct sembuf *sops, unsigned nsops)
		int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr)
		int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf)
		int sys_shmdt (char *shmaddr)
		int sys_shmget (key_t key, int size, int flag)
		/usr/src/linux-2.2.19/kernel/acct.c
		int sys_acct(const char * filename)
		int sys_acct(const char *name)
		/usr/src/linux-2.2.19/kernel/capability.c
		int sys_capget(cap_user_header_t header, cap_user_data_t dataptr)
		int sys_capset(cap_user_header_t header, const cap_user_data_t data)
		/usr/src/linux-2.2.19/kernel/exec_domain.c
		int sys_personality(unsigned long personality)
		/usr/src/linux-2.2.19/kernel/exit.c
		int sys_exit(int error_code)
		int sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru)
		int sys_waitpid(pid_t pid,unsigned int * stat_addr, int options)
		/usr/src/linux-2.2.19/kernel/info.c
		int sys_sysinfo(struct sysinfo *info)
		/usr/src/linux-2.2.19/kernel/itimer.c
		int sys_getitimer(int which, struct itimerval *value)
		/usr/src/linux-2.2.19/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.2.19/kernel/panic.c
		void sys_sync(void);	/* it's really int */
		/usr/src/linux-2.2.19/kernel/printk.c
		int sys_syslog(int type, char * buf, int len)
		/usr/src/linux-2.2.19/kernel/sched.c
		int sys_getegid(void)
		int sys_geteuid(void)
		int sys_getgid(void)
		int sys_getpid(void)
		int sys_getppid(void)
		int sys_getuid(void)
		int sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp)
		int sys_nice(int increment)
		int sys_sched_get_priority_max(int policy)
		int sys_sched_get_priority_min(int policy)
		int sys_sched_getparam(pid_t pid, struct sched_param *param)
		int sys_sched_getscheduler(pid_t pid)
		int sys_sched_rr_get_interval(pid_t pid, struct timespec *interval)
		int sys_sched_setparam(pid_t pid, struct sched_param *param)
		int sys_sched_yield(void)
		unsigned int sys_alarm(unsigned int seconds)
		/usr/src/linux-2.2.19/kernel/signal.c
		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)
		/usr/src/linux-2.2.19/kernel/sys.c
		int sys_getgroups(int gidsetsize, gid_t *grouplist)
		int sys_gethostname(char *name, int len)
		int sys_getpgid(pid_t pid)
		int sys_getpgrp(void)
		int sys_getpriority(int which, int who)
		int sys_getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
		int sys_getresuid(uid_t *ruid, uid_t *euid, uid_t *suid)
		int sys_getrlimit(unsigned int resource, struct rlimit *rlim)
		int sys_getrusage(int who, struct rusage *ru)
		int sys_getsid(pid_t pid)
		int sys_newuname(struct new_utsname * name)
		int sys_ni_syscall(void)
		int sys_reboot(int magic1, int magic2, int cmd, void * arg)
		int sys_setdomainname(char *name, int len)
		int sys_setfsgid(gid_t gid)
		int sys_setfsuid(uid_t uid)
		int sys_setgid(gid_t gid)
		int sys_setgroups(int gidsetsize, gid_t *grouplist)
		int sys_sethostname(char *name, int len)
		int sys_setpgid(pid_t pid, pid_t pgid)
		int sys_setpriority(int which, int who, int niceval)
		int sys_setregid(gid_t rgid, gid_t egid)
		int sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid)
		int sys_setresuid(uid_t ruid, uid_t euid, uid_t suid)
		int sys_setreuid(uid_t ruid, uid_t euid)
		int sys_setrlimit(unsigned int resource, struct rlimit *rlim)
		int sys_setsid(void)
		int sys_setuid(uid_t uid)
		int sys_umask(int mask)
		long sys_times(struct tms * tbuf)
		/usr/src/linux-2.2.19/kernel/sysctl.c
		int sys_sysctl(struct __sysctl_args *args)
		/usr/src/linux-2.2.19/kernel/time.c
		int sys_adjtimex(struct timex *txc_p)
		int sys_gettimeofday(struct timeval *tv, struct timezone *tz)
		int sys_settimeofday(struct timeval *tv, struct timezone *tz)
		int sys_stime(int * tptr)
		int sys_time(int * tloc)
		/usr/src/linux-2.2.19/mm/filemap.c
		int sys_msync(unsigned long start, size_t len, int flags)
		ssize_t sys_sendfile(int out_fd, int in_fd, off_t *offset, size_t count)
		/usr/src/linux-2.2.19/mm/mlock.c
		int sys_mlock(unsigned long start, size_t len)
		int sys_mlockall(int flags)
		int sys_munlock(unsigned long start, size_t len)
		int sys_munlockall(void)
		/usr/src/linux-2.2.19/mm/mmap.c
		int sys_munmap(unsigned long addr, size_t len)
		unsigned long sys_brk(unsigned long brk)
		/usr/src/linux-2.2.19/mm/mprotect.c
		int sys_mprotect(unsigned long start, size_t len, unsigned long prot)
		/usr/src/linux-2.2.19/mm/mremap.c
		unsigned long sys_mremap(unsigned long addr,
		/usr/src/linux-2.2.19/mm/swapfile.c
		int sys_swapoff(const char * specialfile)
		int sys_swapon(const char * specialfile, int swap_flags)
		/usr/src/linux-2.2.19/net/socket.c
		int sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
		int sys_bind(int fd, struct sockaddr *umyaddr, int addrlen)
		int sys_connect(int fd, struct sockaddr *uservaddr, int addrlen)
		int sys_getpeername(int fd, struct sockaddr *usockaddr, int *usockaddr_len)
		int sys_getsockname(int fd, struct sockaddr *usockaddr, int *usockaddr_len)
		int sys_getsockopt(int fd, int level, int optname, char *optval, int *optlen)
		int sys_listen(int fd, int backlog)
		int sys_recv(int fd, void * ubuf, size_t size, unsigned flags)
		int sys_recvmsg(int fd, struct msghdr *msg, unsigned int flags)
		int sys_send(int fd, void * buff, size_t len, unsigned flags)
		int sys_sendmsg(int fd, struct msghdr *msg, unsigned flags)
		int sys_setsockopt(int fd, int level, int optname, char *optval, int optlen)
		int sys_shutdown(int fd, int how)
		int sys_socket(int family, int type, int protocol)
		int sys_socketcall(int call, unsigned long *args)
		int sys_socketpair(int family, int type, int protocol, int usockvec[2])

 


Generated with "fdsyscalls" from kernel sources."


 

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

 

H.-Peter Recktenwald, Berlin, 25.Aug.2000 = .hpr.l0 = : 494