minix/lib/libsys
David van Moolenbroek 6f374faca5 Add "expected size" parameter to getsysinfo()
This patch provides basic protection against damage resulting from
differently compiled servers blindly copying tables to one another.
In every getsysinfo() call, the caller is provided with the expected
size of the requested data structure. The callee fails the call if
the expected size does not match the data structure's actual size.
2011-12-11 22:34:14 +01:00
..
alloc_util.c rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
assert.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
asynsend.c Enable a process to find out what the error code was when delivery of an 2011-04-08 15:23:12 +00:00
ds.c Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
env_get_prm.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
env_panic.c panic() cleanup. 2010-03-05 15:05:11 +00:00
env_parse.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
env_prefix.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
fkey_ctl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
gcov.c fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
get_randomness.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
getidle.c fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
getsysinfo.c Add "expected size" parameter to getsysinfo() 2011-12-11 22:34:14 +01:00
getuptime.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
getuptime2.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
input.c Added possibility to inject input events to tty 2010-11-17 14:53:07 +00:00
kernel_call.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
kprintf.c panic() cleanup. 2010-03-05 15:05:11 +00:00
kputc.c Oops, last commit included more than was intended 2010-05-20 08:07:47 +00:00
kputs.c intercept puts() in libsys, for gcc 2010-04-23 20:23:33 +00:00
Makefile Move optset.c into libsys; remove redundant copies 2011-11-07 16:16:08 +01:00
optset.c Move optset.c into libsys; remove redundant copies 2011-11-07 16:16:08 +01:00
panic.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
pci.h Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
pci_attr_r8.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_attr_r16.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_attr_r32.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_attr_w8.c Rename all uses of U8_t to u8_t and remove U8_t, remove unused I8_t, 2010-04-07 13:35:56 +00:00
pci_attr_w16.c Rename all uses of U8_t to u8_t and remove U8_t, remove unused I8_t, 2010-04-07 13:35:56 +00:00
pci_attr_w32.c Rename all uses of U8_t to u8_t and remove U8_t, remove unused I8_t, 2010-04-07 13:35:56 +00:00
pci_del_acl.c Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
pci_dev_name.c make getsysinfo() a system-land call 2010-09-14 21:50:05 +00:00
pci_find_dev.c Rename all uses of U8_t to u8_t and remove U8_t, remove unused I8_t, 2010-04-07 13:35:56 +00:00
pci_first_dev.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_get_bar.c PCI: expose BAR sizes 2010-07-01 09:10:16 +00:00
pci_ids.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_init.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
pci_init1.c Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
pci_next_dev.c panic() cleanup. 2010-03-05 15:05:11 +00:00
pci_rescan_bus.c Rename all uses of U8_t to u8_t and remove U8_t, remove unused I8_t, 2010-04-07 13:35:56 +00:00
pci_reserve.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
pci_set_acl.c Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
pci_slot_name.c panic() cleanup. 2010-03-05 15:05:11 +00:00
profile.c fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
profile_extern.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
safecopies.c Clean up MFS a bit: 2010-06-01 12:35:33 +00:00
sched_start.c SMP - Changed prototype of sys_schedule() 2010-09-15 14:10:42 +00:00
sched_stop.c Opps, forgot to svn add these files 2010-07-01 08:38:15 +00:00
sef.c sef: build sef_debug_header only when needed 2011-09-19 18:17:45 +02:00
sef_gcov.c added missing sef_gcov.c 2010-08-25 13:23:32 +00:00
sef_init.c SEF: default to endpoint-changing restart 2011-12-05 16:28:07 +01:00
sef_liveupdate.c RS live update support. 2010-07-09 18:29:04 +00:00
sef_ping.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
sef_signal.c Fixed some incorrect uses of printf-like functions. 2010-04-01 14:30:36 +00:00
ser_putc.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
spin.c fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
sqrt_approx.c introduce sqrt_approx() in -lsys 2011-07-04 02:51:12 +02:00
stacktrace.c MKSYSDEBUG: conditionally compile more debug code 2011-09-16 15:25:26 +02:00
sys_abort.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_clear.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
sys_cprof.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_endsig.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_eniop.c Server/driver protocols: no longer allow third-party copies. 2011-04-11 17:35:05 +00:00
sys_exec.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_exit.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
sys_fork.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_getinfo.c Move MIN() and MAX() macros to sys/params.h 2010-08-21 13:10:41 +00:00
sys_getsig.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_hz.c Add an UNUSED annotation, and use it in libsys. 2010-03-11 14:23:33 +00:00
sys_in.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_int86.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_irqctl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_kill.c More cleanup to remove MM and FS references 2010-06-10 14:04:46 +00:00
sys_mcontext.c - Add support for the ucontext system calls (getcontext, setcontext, 2010-03-12 15:58:41 +00:00
sys_memset.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_newmap.c VM and kernel support for ELF 2011-02-26 23:00:55 +00:00
sys_out.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_physcopy.c Remote unused segctl kernel call 2011-04-26 23:28:23 +02:00
sys_privctl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_profbuf.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_readbios.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_runctl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_safecopy.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_safemap.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_schedctl.c SMP - Changed prototype of sys_schedule() 2010-09-15 14:10:42 +00:00
sys_schedule.c SMP - Changed prototype of sys_schedule() 2010-09-15 14:10:42 +00:00
sys_sdevio.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
sys_setalarm.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_setgrant.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_sigreturn.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_sigsend.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_sprof.c The profile utility can set the sprofiling mode 2010-09-23 10:49:42 +00:00
sys_statectl.c Driver refactory for live update and crash recovery. 2010-04-08 13:41:35 +00:00
sys_stime.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_sysctl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_times.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_trace.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_umap.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_umap_remote.c Split off sys_umap_remote from sys_umap 2011-06-10 14:28:20 +00:00
sys_update.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
sys_vinb.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_vinl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_vinw.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_vircopy.c Remote unused segctl kernel call 2011-04-26 23:28:23 +02:00
sys_vmctl.c kernel/vm: change pde table info from single buffer to explicit per-process. 2010-05-12 08:31:05 +00:00
sys_voutb.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_voutl.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_voutw.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_vsafecopy.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sys_vtimer.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
syslib.h Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
sysutil.h Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
taskcall.c More cleanup to remove MM and FS references 2010-06-10 14:04:46 +00:00
tickdelay.c IPC status code for receive(). 2010-03-23 00:09:11 +00:00
timers.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
timing.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
tsc_util.c libsys: fix micro_delay() 2011-04-08 16:57:44 +00:00
vm_brk.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
vm_exec_newmem.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_exit.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_fork.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_info.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_map_phys.c Clean up code in preparation for using gcc warnings. 2010-03-10 13:19:27 +00:00
vm_notify_sig.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_push_sig.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_umap.c Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00
vm_yield_get_block.c secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
vprintf.c Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00