CVS log for src/sys/compat/linux/common/linux_misc.c
Up to [cvs.NetBSD.org] / src / sys / compat / linux / common
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.264.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:39 2026 UTC (11 days, 7 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.264.2.1: preferred, colored; branchpoint 1.264: preferred, colored; next MAIN 1.265: preferred, colored
Changes since revision 1.264.2.1: +14 -2
lines
Sync with HEAD
Revision 1.268: download - view: text, markup, annotated - select for diffs
Sun Sep 20 13:43:51 2026 UTC (8 weeks ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.267: preferred, colored
Changes since revision 1.267: +14 -2
lines
compat_linux, compat_linux32: Always zero syscall args on stack.
This is an attempt to systematically eliminate a class of stack
garbage bugs:
PR kern/60750: compat_linux: stack garbage mistakes
Revision 1.264.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:56:26 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.264: preferred, colored
Changes since revision 1.264: +14 -14
lines
Sync with HEAD
Revision 1.267: download - view: text, markup, annotated - select for diffs
Tue Oct 1 16:41:29 2024 UTC (2 years, 1 month ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11
Diff to: previous 1.266: preferred, colored
Changes since revision 1.266: +7 -7
lines
sys/compat/linux/common: Nix trailing whitespace, and one blank line.
No functional change intended.
Revision 1.266: download - view: text, markup, annotated - select for diffs
Sun Sep 29 00:09:52 2024 UTC (2 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.265: preferred, colored
Changes since revision 1.265: +2 -62
lines
move clone3 to linux_sched.c and make it compile (need to fix XXX comments)
Revision 1.265: download - view: text, markup, annotated - select for diffs
Sat Sep 28 19:35:56 2024 UTC (2 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.264: preferred, colored
Changes since revision 1.264: +69 -9
lines
Linux GSoC-2024: renameat2, clone3, sync_file_range, syncfs (Shivraj Jamgade)
Revision 1.264: download - view: text, markup, annotated - select for diffs
Sat Jun 29 13:46:10 2024 UTC (2 years, 4 months ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base
Branch point for: perseant-exfatfs
Diff to: previous 1.263: preferred, colored
Changes since revision 1.263: +32 -2
lines
From gsoc 2024: Implement faccessat2 and getcpu (Shivraz)
Revision 1.263: download - view: text, markup, annotated - select for diffs
Sat Feb 10 18:43:52 2024 UTC (2 years, 9 months ago) by andvar
Branches: MAIN
Diff to: previous 1.262: preferred, colored
Changes since revision 1.262: +3 -3
lines
Fix various typos in comments, log messages and documentation.
Revision 1.262: download - view: text, markup, annotated - select for diffs
Fri Aug 18 19:41:19 2023 UTC (3 years, 2 months ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation
Diff to: previous 1.261: preferred, colored
Changes since revision 1.261: +99 -15
lines
Add linux waitid(2) from GSoC 2023 (Theodore Preduta)
Revision 1.261: download - view: text, markup, annotated - select for diffs
Sun Jul 30 18:31:13 2023 UTC (3 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.260: preferred, colored
Changes since revision 1.260: +3 -3
lines
Add EPOLL_CLOEXEC (Theodore Preduta)
Revision 1.260: download - view: text, markup, annotated - select for diffs
Sat Jul 29 15:04:29 2023 UTC (3 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.259: preferred, colored
Changes since revision 1.259: +82 -2
lines
Add/fix statx, readahead, close_range. From GSoC 2023 by Theodore Preduta
Revision 1.259: download - view: text, markup, annotated - select for diffs
Sat Jul 29 07:00:00 2023 UTC (3 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.258: preferred, colored
Changes since revision 1.258: +6 -2
lines
compat/linux: aarch64 does not have epoll_create(2) nor epoll_wait(2)
Note that for Linux, new architectures like arm64 use MI system call
table in include/uapi/asm-generic/unistd.h, instead of MD syscall.tbl.
XXX
Too many ifdef's like this. We should be smarter...
Revision 1.258: download - view: text, markup, annotated - select for diffs
Fri Jul 28 18:19:01 2023 UTC (3 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.257: preferred, colored
Changes since revision 1.257: +231 -2
lines
Add epoll(2) from Theodore Preduta as part of GSoC 2023
Revision 1.257: download - view: text, markup, annotated - select for diffs
Mon Jul 10 02:31:55 2023 UTC (3 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.256: preferred, colored
Changes since revision 1.256: +67 -4
lines
Add memfd_create(2) from GSoC 2023 by Theodore Preduta
Revision 1.238.2.3: download - view: text, markup, annotated - select for diffs
Wed Jun 21 21:04:02 2023 UTC (3 years, 4 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.238.2.2: preferred, colored; branchpoint 1.238: preferred, colored; next MAIN 1.239: preferred, colored
Changes since revision 1.238.2.2: +5 -2
lines
Pull up following revision(s) (requested by riastradh in ticket #1836):
sys/compat/linux/arch/i386/linux_machdep.c: revision 1.168
sys/compat/sunos/sunos_misc.c: revision 1.177
sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.52
sys/compat/common/kern_resource_43.c: revision 1.23
sys/compat/netbsd32/netbsd32_conv.h: revision 1.46
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.35
sys/compat/common/vfs_syscalls_12.c: revision 1.38
sys/compat/ultrix/ultrix_misc.c: revision 1.126
sys/compat/common/kern_sig_43.c: revision 1.37
sys/compat/linux/common/linux_mtio.c: revision 1.8
sys/compat/freebsd/freebsd_misc.c: revision 1.34
sys/compat/linux/common/linux_olduname.c: revision 1.67
sys/compat/linux/arch/mips/linux_machdep.c: revision 1.44
sys/compat/freebsd/freebsd_sched.c: revision 1.23
sys/compat/ossaudio/ossaudio.c: revision 1.84
sys/compat/sys/time_types.h: revision 1.6
sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.51
sys/compat/linux/common/linux_file.c: revision 1.119
sys/compat/linux/arch/arm/linux_machdep.c: revision 1.34
sys/compat/netbsd32/netbsd32_wait.c: revision 1.25
sys/compat/linux32/common/linux32_time.c: revision 1.38
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.33
sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.52
sys/compat/linux32/arch/amd64/linux32_machdep.c: revision 1.46
sys/compat/netbsd32/netbsd32_compat_12.c: revision 1.36
sys/compat/ultrix/ultrix_ioctl.c: revision 1.39
sys/compat/linux/common/linux_misc.c: revision 1.252
sys/compat/linux/common/linux_hdio.c: revision 1.19
sys/compat/sunos/sunos_ioctl.c: revision 1.71
sys/compat/linux/common/linux_sched.c: revision 1.79
sys/compat/common/kern_info_43.c: revision 1.40
sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.20
sys/compat/linux/common/linux_socket.c: revision 1.153
sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.60
sys/compat/common/vfs_syscalls_43.c: revision 1.68
sys/compat/linux/arch/powerpc/linux_exec_powerpc.c: revision 1.25
sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.9
sys/compat/common/kern_time_50.c: revision 1.37
sys/compat/netbsd32/netbsd32_compat_20.c: revision 1.42
sys/compat/linux/common/linux_cdrom.c: revision 1.28
sys/compat/linux/arch/m68k/linux_machdep.c: revision 1.43
sys/compat/common/kern_info_09.c: revision 1.22
sys/compat/linux32/common/linux32_resource.c: revision 1.12
sys/compat/linux/common/linux_oldolduname.c: revision 1.67
sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.8
sys/compat/linux32/common/linux32_signal.c: revision 1.21
sys/compat/common/kern_sig_13.c: revision 1.22
sys/compat/sunos32/sunos32_ioctl.c: revision 1.36
sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.62
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.23
sys/compat/netbsd32/netbsd32_time.c: revision 1.56
sys/compat/linux/common/linux_signal.c: revision 1.84
sys/compat/netbsd32/netbsd32_signal.c: revision 1.52
sys/compat/sunos32/sunos32_misc.c: revision 1.85
sys/compat/linux/common/linux_time.c: revision 1.40
sys/compat/linux/common/linux_fdio.c: revision 1.14
sys/compat/common/vfs_syscalls_30.c: revision 1.43
sys/compat: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel
stack disclosure. If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.
Revision 1.240.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 3 11:11:32 2022 UTC (4 years, 3 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.240.4.1: preferred, colored; branchpoint 1.240: preferred, colored; next MAIN 1.241: preferred, colored
Changes since revision 1.240.4.1: +5 -2
lines
Pull up following revision(s), all via patch
(requested by riastradh in ticket #1487):
sys/compat/linux/arch/i386/linux_machdep.c: revision 1.168
sys/compat/sunos/sunos_misc.c: revision 1.177
sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.52
sys/compat/common/kern_resource_43.c: revision 1.23
sys/compat/netbsd32/netbsd32_conv.h: revision 1.46
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.35
sys/compat/common/vfs_syscalls_12.c: revision 1.38
sys/compat/ultrix/ultrix_misc.c: revision 1.126
sys/compat/common/kern_sig_43.c: revision 1.37
sys/compat/linux/common/linux_mtio.c: revision 1.8
sys/compat/freebsd/freebsd_misc.c: revision 1.34
sys/compat/freebsd/freebsd_machdep.c: revision 1.5
sys/compat/linux/common/linux_olduname.c: revision 1.67
sys/compat/linux/arch/mips/linux_machdep.c: revision 1.44
sys/compat/freebsd/freebsd_sched.c: revision 1.23
sys/compat/ossaudio/ossaudio.c: revision 1.84
sys/compat/sys/time_types.h: revision 1.6
sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.51
sys/compat/common/ieee80211_20.c: revision 1.7
sys/compat/linux/common/linux_file.c: revision 1.119
sys/compat/linux/arch/arm/linux_machdep.c: revision 1.34
sys/compat/netbsd32/netbsd32_wait.c: revision 1.25
sys/compat/linux32/common/linux32_time.c: revision 1.38
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.33
sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.52
sys/compat/linux32/arch/amd64/linux32_machdep.c: revision 1.46
sys/compat/netbsd32/netbsd32_compat_12.c: revision 1.36
sys/compat/ultrix/ultrix_ioctl.c: revision 1.39
sys/compat/linux/common/linux_misc.c: revision 1.252
sys/compat/linux/common/linux_hdio.c: revision 1.19
sys/compat/sunos/sunos_ioctl.c: revision 1.71
sys/compat/linux/common/linux_sched.c: revision 1.79
sys/compat/common/kern_info_43.c: revision 1.40
sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.20
sys/compat/linux/common/linux_socket.c: revision 1.153
sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.60
sys/compat/common/vfs_syscalls_43.c: revision 1.68
sys/compat/linux/arch/powerpc/linux_exec_powerpc.c: revision 1.25
sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.9
sys/compat/common/kern_time_50.c: revision 1.37
sys/compat/netbsd32/netbsd32_compat_20.c: revision 1.42
sys/compat/linux/common/linux_cdrom.c: revision 1.28
sys/compat/linux/arch/m68k/linux_machdep.c: revision 1.43
sys/compat/common/kern_info_09.c: revision 1.22
sys/compat/linux32/common/linux32_resource.c: revision 1.12
sys/compat/linux/common/linux_oldolduname.c: revision 1.67
sys/compat/common/if_media_80.c: revision 1.4
sys/compat/linux/arch/alpha/linux_osf1.c: revision 1.5
sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.8
sys/compat/linux32/common/linux32_signal.c: revision 1.21
sys/compat/common/kern_sig_13.c: revision 1.22
sys/compat/sunos32/sunos32_ioctl.c: revision 1.36
sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.62
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.23
sys/compat/netbsd32/netbsd32_time.c: revision 1.56
sys/compat/linux/common/linux_signal.c: revision 1.84
sys/compat/netbsd32/netbsd32_signal.c: revision 1.52
sys/compat/sunos32/sunos32_misc.c: revision 1.85
sys/compat/linux/common/linux_time.c: revision 1.40
sys/compat/linux/common/linux_fdio.c: revision 1.14
sys/compat/common/vfs_syscalls_30.c: revision 1.43
sys/compat: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel
stack disclosure. If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.
Revision 1.256: download - view: text, markup, annotated - select for diffs
Thu Dec 2 04:29:48 2021 UTC (4 years, 11 months ago) by ryo
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.255: preferred, colored
Changes since revision 1.255: +44 -2
lines
add prlimit64(2) syscall to COMPAT_LINUX and COMPAT_LINUX32
Revision 1.255: download - view: text, markup, annotated - select for diffs
Thu Nov 25 03:08:04 2021 UTC (4 years, 11 months ago) by ryo
Branches: MAIN
Diff to: previous 1.254: preferred, colored
Changes since revision 1.254: +2 -4
lines
add support COMPAT_LINUX32 for aarch64
Revision 1.254: download - view: text, markup, annotated - select for diffs
Thu Sep 23 06:56:27 2021 UTC (5 years, 1 month ago) by ryo
Branches: MAIN
Diff to: previous 1.253: preferred, colored
Changes since revision 1.253: +9 -3
lines
add support COMPAT_LINUX for aarch64
Revision 1.253: download - view: text, markup, annotated - select for diffs
Mon Sep 20 00:09:02 2021 UTC (5 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.252: preferred, colored
Changes since revision 1.252: +54 -2
lines
Add the eventfd system calls to COMPAT_LINUX and COMPAT_LINUX32.
Revision 1.252: download - view: text, markup, annotated - select for diffs
Tue Sep 7 11:43:04 2021 UTC (5 years, 2 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.251: preferred, colored
Changes since revision 1.251: +5 -2
lines
sys/compat: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel
stack disclosure. If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.
Revision 1.251.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 15 14:07:21 2020 UTC (5 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.251: preferred, colored; next MAIN 1.252: preferred, colored
Changes since revision 1.251: +55 -3
lines
Add Linux eventfd, timerfd, and POSIX timer calls.
Revision 1.251: download - view: text, markup, annotated - select for diffs
Thu Jun 11 22:21:05 2020 UTC (6 years, 5 months ago) by ad
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-futex
Diff to: previous 1.250: preferred, colored
Changes since revision 1.250: +9 -3
lines
Counter tweaks:
- Don't need to count anonpages+filepages any more; clean+unknown+dirty for
each kind of page can be summed to get the totals.
- Track the number of free pages with a counter so that it's one less thing
for the allocator to do, which opens up further options there.
- Remove cpu_count_sync_one(). It has no users and doesn't save a whole lot.
For the cheap option, give cpu_count_sync() a boolean parameter indicating
that a cached value is okay, and rate limit the updates for cached values
to hz.
Revision 1.250: download - view: text, markup, annotated - select for diffs
Thu Jun 11 19:20:46 2020 UTC (6 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.249: preferred, colored
Changes since revision 1.249: +3 -3
lines
uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched. It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.
Revision 1.249: download - view: text, markup, annotated - select for diffs
Sun May 3 01:06:56 2020 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.248: preferred, colored
Changes since revision 1.248: +59 -2
lines
Always clear FUTEX_PRIVATE_FLAG for Linux processes. NetBSD-native futexes
exist in different namespace depending on FUTEX_PRIVATE_FLAG. This appears
not to be the case in Linux, and some futex users will mix private and non-
private ops on the same futex object. Provide a convenience wrapper that
puts this logic in one place witn a comment explaining why.
While here, move the Linux futex wrapper out of its own file and plop
it in linux_misc.c, which is where it lives in the linux32 module.
Revision 1.239.4.4: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:14 2020 UTC (6 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.239.4.3: preferred, colored; branchpoint 1.239: preferred, colored; next MAIN 1.240: preferred, colored
Changes since revision 1.239.4.3: +1 -1
lines
Sync with HEAD
Revision 1.247.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:01 2020 UTC (6 years, 6 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.247: preferred, colored; next MAIN 1.248: preferred, colored
Changes since revision 1.247: +3 -3
lines
Sync with HEAD
Revision 1.248: download - view: text, markup, annotated - select for diffs
Sun Apr 19 20:31:59 2020 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1
Diff to: previous 1.247: preferred, colored
Changes since revision 1.247: +3 -3
lines
- Only increment nprocs when we're creating a new process, not just
when allocating a PID.
- Per above, proc_free_pid() no longer decrements nprocs. It's now done
in proc_free() right after proc_free_pid().
- Ensure nprocs is accessed using atomics everywhere.
Revision 1.239.4.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:15 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.239.4.2: preferred, colored; branchpoint 1.239: preferred, colored
Changes since revision 1.239.4.2: +5 -2
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.239.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:00 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.239.4.1: preferred, colored; branchpoint 1.239: preferred, colored
Changes since revision 1.239.4.1: +3 -3
lines
Merge changes from current as of 20200406
Revision 1.229.8.2: download - view: text, markup, annotated - select for diffs
Tue Jan 21 19:23:37 2020 UTC (6 years, 9 months ago) by martin
Branches: netbsd-7-1
Diff to: previous 1.229.8.1: preferred, colored; branchpoint 1.229: preferred, colored; next MAIN 1.230: preferred, colored
Changes since revision 1.229.8.1: +5 -2
lines
Pull up the following, requested by christos in ticket #1720:
sys/compat/common/kern_sig_43.c 1.36
sys/compat/linux/arch/amd64/linux_machdep.c 1.59
sys/compat/linux/common/linux_fcntl.h 1.18
sys/compat/linux/common/linux_file64.c 1.62
sys/compat/linux/common/linux_ipc.c 1.57
sys/compat/linux/common/linux_misc.c 1.243
sys/compat/linux/common/linux_signal.c 1.81
sys/compat/linux/common/linux_socket.c 1.149 (patch)
sys/compat/linux/common/linux_socket.h 1.24
sys/compat/linux/common/linux_statfs.h 1.7
sys/compat/linux/common/linux_termios.c 1.38
sys/compat/linux/common/linux_termios.h 1.22
sys/compat/linux32/common/linux32_dirent.c 1.20
sys/compat/linux32/common/linux32_ioctl.c 1.14
sys/compat/linux32/common/linux32_misc.c 1.27
sys/compat/linux32/common/linux32_signal.c 1.20
sys/compat/linux32/common/linux32_sysinfo.c 1.8
sys/compat/linux32/common/linux32_termios.c 1.15
sys/compat/linux32/common/linux32_utsname.c 1.10
sys/compat/netbsd32/netbsd32_compat_20.c 1.39
sys/compat/netbsd32/netbsd32_compat_43.c 1.59
sys/compat/netbsd32/netbsd32_compat_50.c 1.44
sys/compat/ossaudio/ossaudio.c 1.75
sys/kern/sysv_shm.c 1.138
sys/miscfs/procfs/procfs_linux.c 1.75 (patch)
sys/sys/shm.h 1.54 (patch)
Fix various info leaks, out of bound access, usage of uninitialized
values and direct access to userland variables from kernel space
and memory leaks in system calls implemented for the compatibility
subsystems.
Revision 1.229.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 21 19:19:16 2020 UTC (6 years, 9 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.229.2.2: preferred, colored; branchpoint 1.229: preferred, colored; next MAIN 1.230: preferred, colored
Changes since revision 1.229.2.2: +5 -2
lines
Pull up the following, requested by christos in ticket #1720:
sys/compat/common/kern_sig_43.c 1.36
sys/compat/linux/arch/amd64/linux_machdep.c 1.59
sys/compat/linux/common/linux_fcntl.h 1.18
sys/compat/linux/common/linux_file64.c 1.62
sys/compat/linux/common/linux_ipc.c 1.57
sys/compat/linux/common/linux_misc.c 1.243
sys/compat/linux/common/linux_signal.c 1.81
sys/compat/linux/common/linux_socket.c 1.149 (patch)
sys/compat/linux/common/linux_socket.h 1.24
sys/compat/linux/common/linux_statfs.h 1.7
sys/compat/linux/common/linux_termios.c 1.38
sys/compat/linux/common/linux_termios.h 1.22
sys/compat/linux32/common/linux32_dirent.c 1.20
sys/compat/linux32/common/linux32_ioctl.c 1.14
sys/compat/linux32/common/linux32_misc.c 1.27
sys/compat/linux32/common/linux32_signal.c 1.20
sys/compat/linux32/common/linux32_sysinfo.c 1.8
sys/compat/linux32/common/linux32_termios.c 1.15
sys/compat/linux32/common/linux32_utsname.c 1.10
sys/compat/netbsd32/netbsd32_compat_20.c 1.39
sys/compat/netbsd32/netbsd32_compat_43.c 1.59
sys/compat/netbsd32/netbsd32_compat_50.c 1.44
sys/compat/ossaudio/ossaudio.c 1.75
sys/kern/sysv_shm.c 1.138
sys/miscfs/procfs/procfs_linux.c 1.75 (patch)
sys/sys/shm.h 1.54 (patch)
Fix various info leaks, out of bound access, usage of uninitialized
values and direct access to userland variables from kernel space
and memory leaks in system calls implemented for the compatibility
subsystems.
Revision 1.238.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 21 18:12:54 2020 UTC (6 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE
Diff to: previous 1.238.2.1: preferred, colored; branchpoint 1.238: preferred, colored
Changes since revision 1.238.2.1: +5 -2
lines
Pull up the following, requested by christos in ticket #1487:
sys/compat/common/kern_sig_43.c 1.36
sys/compat/linux/arch/amd64/linux_machdep.c 1.59
sys/compat/linux/common/linux_fcntl.h 1.18
sys/compat/linux/common/linux_file64.c 1.62
sys/compat/linux/common/linux_ipc.c 1.57
sys/compat/linux/common/linux_misc.c 1.243
sys/compat/linux/common/linux_signal.c 1.81
sys/compat/linux/common/linux_socket.c 1.149
sys/compat/linux/common/linux_socket.h 1.24
sys/compat/linux/common/linux_statfs.h 1.7
sys/compat/linux/common/linux_termios.c 1.38
sys/compat/linux/common/linux_termios.h 1.22
sys/compat/linux32/common/linux32_dirent.c 1.20
sys/compat/linux32/common/linux32_ioctl.c 1.14
sys/compat/linux32/common/linux32_misc.c 1.27
sys/compat/linux32/common/linux32_signal.c 1.20
sys/compat/linux32/common/linux32_sysinfo.c 1.8
sys/compat/linux32/common/linux32_termios.c 1.15
sys/compat/linux32/common/linux32_utsname.c 1.10
sys/compat/netbsd32/netbsd32_compat_20.c 1.39
sys/compat/netbsd32/netbsd32_compat_43.c 1.59
sys/compat/netbsd32/netbsd32_compat_50.c 1.44
sys/compat/ossaudio/ossaudio.c 1.75
sys/kern/sysv_shm.c 1.138
sys/miscfs/procfs/procfs_linux.c 1.75 (patch)
sys/sys/shm.h 1.54
Fix various info leaks, out of bound access, usage of uninitialized
values and direct access to userland variables from kernel space
and memory leaks in system calls implemented for the compatibility
subsystems.
Revision 1.247: download - view: text, markup, annotated - select for diffs
Tue Dec 31 13:07:13 2019 UTC (6 years, 10 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: bouyer-xenpvh
Diff to: previous 1.246: preferred, colored
Changes since revision 1.246: +3 -3
lines
Rename uvm_free() -> uvm_availmem().
Revision 1.246: download - view: text, markup, annotated - select for diffs
Sat Dec 21 13:00:24 2019 UTC (6 years, 10 months ago) by ad
Branches: MAIN
Diff to: previous 1.245: preferred, colored
Changes since revision 1.245: +3 -3
lines
uvmexp.free -> uvm_free()
Revision 1.245: download - view: text, markup, annotated - select for diffs
Fri Sep 20 15:25:19 2019 UTC (7 years, 1 month ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.244: preferred, colored
Changes since revision 1.244: +3 -3
lines
Avoid signed integer overflow when convering linux timeval to timespec
Linux accepts garbage as timeout and attempts to set it to something
meaningful. Instead of checking for valid ranges of usec, just convert
the type safely, regardless of what is inside it.
Revision 1.240.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 13 06:25:25 2019 UTC (7 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.240: preferred, colored
Changes since revision 1.240: +6 -3
lines
Pull up following revision(s) (requested by maxv in ticket #194):
sys/compat/linux/common/linux_socket.c: revision 1.146
sys/compat/linux/common/linux_socket.c: revision 1.147
sys/compat/linux/common/linux_socket.c: revision 1.148
sys/compat/linux/common/linux_socket.c: revision 1.149
sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.59
sys/compat/linux32/common/linux32_sysinfo.c: revision 1.8
sys/kern/sysv_shm.c: revision 1.138
sys/compat/linux/common/linux_file64.c: revision 1.61
sys/compat/linux/common/linux_file64.c: revision 1.62
sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.58
sys/compat/linux32/common/linux32_dirent.c: revision 1.20
sys/compat/linux32/common/linux32_utsname.c: revision 1.10
sys/compat/linux/common/linux_termios.h: revision 1.22
sys/compat/linux32/common/linux32_termios.c: revision 1.15
sys/compat/linux32/common/linux32_misc.c: revision 1.27
sys/compat/linux32/common/linux32_ioctl.c: revision 1.14
sys/compat/linux/common/linux_statfs.h: revision 1.7
sys/compat/linux/common/linux_ipc.c: revision 1.57
sys/compat/linux/common/linux_fcntl.h: revision 1.18
sys/compat/linux/common/linux_socket.h: revision 1.24
sys/sys/shm.h: revision 1.54
sys/compat/ossaudio/ossaudio.c: revision 1.75
sys/compat/linux32/common/linux32_signal.c: revision 1.20
sys/miscfs/procfs/procfs_linux.c: revision 1.75
sys/compat/linux/common/linux_signal.c: revision 1.81
sys/compat/linux/common/linux_termios.c: revision 1.38
sys/compat/linux/common/linux_misc.c: revision 1.241
sys/compat/linux/common/linux_misc.c: revision 1.242
sys/compat/linux/common/linux_misc.c: revision 1.243
sys/compat/linux/common/linux_misc.c: revision 1.244
Fix info leaks.
Fix stupid bugs in linux_sys_shmctl(): the index could be out of bound
(page fault) and there was no proper locking.
Maybe we should just remove LINUX_SHM_STAT, like compat_linux32.
Remove printf.
When dealing with an unknown value, set -1, to prevent (harmless)
uninitialized accesses later.
Add a default case, don't call sys_ioctl() with an uninitialized 'com'
argument.
Fix error handling, returns an errno, not -1.
Put the printf under DEBUG_LINUX.
Hum, don't forget the 'pid' argument, otherwise we're not gonna go very
far.
Don't read data from userland directly. This simply does not work on any
recent x86 CPU (thanks to SMAP) and all architectures that forbid direct
access to userland from the kernel. But I guess no one noticed because no
one ever uses compat_linux, right?
Hum, don't pass an mbuf to realloc(). Inspired from copyin32_msg_control().
Fix memory leak.
I don't see the point in having this useless printf, but add a '\n' to it,
so that it at least displays useless stuff correctly.
Hum, remove incorrect assignment. Userland could have passed a smaller
namelen, and the uninitialized bytes from sb_data were being used later in
the network stack.
Revision 1.244: download - view: text, markup, annotated - select for diffs
Sat Aug 24 14:21:13 2019 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.243: preferred, colored
Changes since revision 1.243: +3 -3
lines
I don't see the point in having this useless printf, but add a '\n' to it,
so that it at least displays useless stuff correctly.
Revision 1.243: download - view: text, markup, annotated - select for diffs
Fri Aug 23 08:01:42 2019 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.242: preferred, colored
Changes since revision 1.242: +3 -2
lines
Fix info leaks in sysinfo().
Revision 1.242: download - view: text, markup, annotated - select for diffs
Fri Aug 23 07:53:36 2019 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.241: preferred, colored
Changes since revision 1.241: +3 -2
lines
Fix info leaks.
Revision 1.241: download - view: text, markup, annotated - select for diffs
Fri Aug 23 06:47:58 2019 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.240: preferred, colored
Changes since revision 1.240: +3 -2
lines
Fix info leaks.
Revision 1.239.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:00 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.239: preferred, colored
Changes since revision 1.239: +4 -4
lines
Sync with HEAD
Revision 1.239.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:46 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.239: preferred, colored; next MAIN 1.240: preferred, colored
Changes since revision 1.239: +4 -4
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.240: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:29 2018 UTC (8 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.239: preferred, colored
Changes since revision 1.239: +4 -4
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.219.12.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:55 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.219.12.3: preferred, colored; branchpoint 1.219: preferred, colored; next MAIN 1.220: preferred, colored
Changes since revision 1.219.12.3: +93 -6
lines
update from HEAD
Revision 1.230.2.5: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:59 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.230.2.4: preferred, colored; branchpoint 1.230: preferred, colored; next MAIN 1.231: preferred, colored
Changes since revision 1.230.2.4: +7 -5
lines
Sync with HEAD
Revision 1.219.8.2: download - view: text, markup, annotated - select for diffs
Sat Aug 19 04:20:01 2017 UTC (9 years, 2 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.219.8.1: preferred, colored; branchpoint 1.219: preferred, colored; next MAIN 1.220: preferred, colored
Changes since revision 1.219.8.1: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1483):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.219.16.1: download - view: text, markup, annotated - select for diffs
Sat Aug 19 04:19:58 2017 UTC (9 years, 2 months ago) by snj
Branches: netbsd-6-1
Diff to: previous 1.219: preferred, colored; next MAIN 1.220: preferred, colored
Changes since revision 1.219: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1483):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.219.14.1: download - view: text, markup, annotated - select for diffs
Sat Aug 19 04:19:55 2017 UTC (9 years, 2 months ago) by snj
Branches: netbsd-6-0
Diff to: previous 1.219: preferred, colored; next MAIN 1.220: preferred, colored
Changes since revision 1.219: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1483):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.229.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 12 04:18:10 2017 UTC (9 years, 3 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.229.2.1: preferred, colored; branchpoint 1.229: preferred, colored
Changes since revision 1.229.2.1: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1479):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c: revision 1.2
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.229.8.1: download - view: text, markup, annotated - select for diffs
Sat Aug 12 04:16:52 2017 UTC (9 years, 3 months ago) by snj
Branches: netbsd-7-1
CVS tags: netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1479):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c: revision 1.2
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.229.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 12 04:16:17 2017 UTC (9 years, 3 months ago) by snj
Branches: netbsd-7-0
Diff to: previous 1.229: preferred, colored; next MAIN 1.230: preferred, colored
Changes since revision 1.229: +6 -4
lines
Pull up following revision(s) (requested by mrg in ticket #1479):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c: revision 1.2
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.238.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 9 05:12:18 2017 UTC (9 years, 3 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +6 -4
lines
Pull up following revision(s) (requested by spz in ticket #193):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c: revision 1.2
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.239: download - view: text, markup, annotated - select for diffs
Fri Jul 28 15:34:06 2017 UTC (9 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
nick-nhusb-base-20170825
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +6 -4
lines
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.
Revision 1.237.4.1: download - view: text, markup, annotated - select for diffs
Thu May 11 02:58:37 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.237: preferred, colored; next MAIN 1.238: preferred, colored
Changes since revision 1.237: +3 -3
lines
Sync with HEAD
Revision 1.238: download - view: text, markup, annotated - select for diffs
Sat May 6 21:34:51 2017 UTC (9 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base
Branch point for: netbsd-8
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +3 -3
lines
Extend the mmap(2) interface to allow requesting protections for later
use with mprotect(2), but without enabling them immediately.
Extend the mremap(2) interface to allow duplicating mappings, i.e.
create a second range of virtual addresses references the same physical
pages. Duplicated mappings can have different effective protections.
Adjust PAX mprotect logic to disallow effective protections of W&X, but
allow one mapping W and another X protections. This obsoletes using
temporary files for purposes like JIT.
Adjust PAX logic for mmap(2) and mprotect(2) to fail if W&X is requested
and not silently drop the X protection.
Improve test cases to ensure correct operation of the changed
interfaces.
Revision 1.236.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:42 2017 UTC (9 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.236: preferred, colored; next MAIN 1.237: preferred, colored
Changes since revision 1.236: +3 -3
lines
Sync with HEAD
Revision 1.229.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 17 05:19:09 2017 UTC (9 years, 7 months ago) by snj
Branches: netbsd-7
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +83 -2
lines
Pull up following revision(s) (requested by manu in ticket #1354):
sys/compat/linux/arch/alpha/syscalls.master: revision 1.92 via patch
sys/compat/linux/arch/amd64/syscalls.master: revision 1.58 via patch
sys/compat/linux/arch/arm/syscalls.master: revision 1.65 via patch
sys/compat/linux/arch/i386/syscalls.master: revision 1.122 via patch
sys/compat/linux/arch/m68k/syscalls.master: revision 1.91 via patch
sys/compat/linux/arch/mips/syscalls.master: revision 1.61 via patch
sys/compat/linux/arch/powerpc/syscalls.master: revision 1.70 via patch
sys/compat/linux/common/linux_misc.c: revision 1.234
sys/compat/linux/common/linux_signal.h: revision 1.31
Add pselect6 Linux system call.
This lets Matlab R2016A run on NetBSD/amd64
Revision 1.231.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:25 2017 UTC (9 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.231.2.1: preferred, colored; branchpoint 1.231: preferred, colored; next MAIN 1.232: preferred, colored
Changes since revision 1.231.2.1: +4 -3
lines
Sync with HEAD
Revision 1.230.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:25 2017 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.230.2.3: preferred, colored; branchpoint 1.230: preferred, colored
Changes since revision 1.230.2.3: +85 -3
lines
Sync with HEAD
Revision 1.237: download - view: text, markup, annotated - select for diffs
Sat Jan 28 15:01:01 2017 UTC (9 years, 9 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base1,
prg-localcount2-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
nick-nhusb-base-20170204,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: prg-localcount2
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +3 -3
lines
copy the terminating NUL (njoly)
Revision 1.236: download - view: text, markup, annotated - select for diffs
Fri Jan 13 22:45:15 2017 UTC (9 years, 10 months ago) by christos
Branches: MAIN
CVS tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +3 -3
lines
no namlen on linux
Revision 1.235: download - view: text, markup, annotated - select for diffs
Fri Jan 13 20:24:37 2017 UTC (9 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +4 -3
lines
convert strcpy to a bounded copy to avoid compiler warnings, although the
reclen test prevents overflow.
Revision 1.231.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:30 2017 UTC (9 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +84 -3
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.234: download - view: text, markup, annotated - select for diffs
Mon Jan 2 16:32:10 2017 UTC (9 years, 10 months ago) by manu
Branches: MAIN
CVS tags: pgoyette-localcount-20170107
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +83 -2
lines
Add pselect6 Linux system call.
This lets Matlab R2016A run on NetBSD/amd64
Revision 1.230.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:00 2016 UTC (9 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.230.2.2: preferred, colored; branchpoint 1.230: preferred, colored
Changes since revision 1.230.2.2: +3 -3
lines
Sync with HEAD
Revision 1.233: download - view: text, markup, annotated - select for diffs
Thu Nov 10 17:00:51 2016 UTC (10 years ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20161204
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +3 -3
lines
GC WOPTSCHECKED
Revision 1.230.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:38 2016 UTC (10 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.230.2.1: preferred, colored; branchpoint 1.230: preferred, colored
Changes since revision 1.230.2.1: +7 -5
lines
Sync with HEAD
Revision 1.232: download - view: text, markup, annotated - select for diffs
Wed Aug 31 08:12:44 2016 UTC (10 years, 2 months ago) by njoly
Branches: MAIN
CVS tags: pgoyette-localcount-20161104,
nick-nhusb-base-20161004,
localcount-20160914
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +4 -2
lines
Teach wait4 about WCONTINUED.
Revision 1.230.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:06 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +3 -2
lines
Sync with HEAD
Revision 1.231: download - view: text, markup, annotated - select for diffs
Sat Mar 14 08:32:08 2015 UTC (11 years, 8 months ago) by njoly
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406
Branch point for: pgoyette-localcount
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +3 -2
lines
Support Linux MAP_LOCKED mmap flag.
Revision 1.230: download - view: text, markup, annotated - select for diffs
Sat Nov 22 13:18:45 2014 UTC (11 years, 11 months ago) by njoly
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +3 -3
lines
Fix ppoll signature (int ->u_int)
Revision 1.219.12.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:32 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.219.12.2: preferred, colored; branchpoint 1.219: preferred, colored
Changes since revision 1.219.12.2: +31 -42
lines
Rebase to HEAD as of a few days ago.
Revision 1.228.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:33 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.228: preferred, colored; next MAIN 1.229: preferred, colored
Changes since revision 1.228: +2 -30
lines
Rebase.
Revision 1.229: download - view: text, markup, annotated - select for diffs
Thu May 29 10:35:27 2014 UTC (12 years, 5 months ago) by njoly
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE
Branch point for: netbsd-7-1,
netbsd-7-0,
netbsd-7
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +2 -30
lines
For utimes(2), use compat_50_sys_utimes() instead of local version.
Revision 1.219.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:16 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.219.2.1: preferred, colored; branchpoint 1.219: preferred, colored; next MAIN 1.220: preferred, colored
Changes since revision 1.219.2.1: +83 -7
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.223.4.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:32 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.223.4.1: preferred, colored; branchpoint 1.223: preferred, colored; next MAIN 1.224: preferred, colored
Changes since revision 1.223.4.1: +40 -25
lines
sync with head
Revision 1.219.8.1: download - view: text, markup, annotated - select for diffs
Sat Dec 14 19:31:17 2013 UTC (12 years, 11 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +4 -3
lines
Pull up following revision(s) (requested by hauke in ticket #993):
sys/compat/linux/common/linux_misc.c: revision 1.227
On linux_sys_getdents, insert d_type at the end of each record.
Fixes PR kern/47806.
Revision 1.228: download - view: text, markup, annotated - select for diffs
Mon Nov 18 01:32:52 2013 UTC (13 years ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +22 -49
lines
implement the *at() syscalls.
bring the unimplemented syscall list up to date.
Revision 1.227: download - view: text, markup, annotated - select for diffs
Sun Nov 10 12:07:52 2013 UTC (13 years ago) by slp
Branches: MAIN
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +4 -3
lines
On linux_sys_getdents, insert d_type at the end of each record.
Fixes PR kern/47806.
Revision 1.226: download - view: text, markup, annotated - select for diffs
Tue Sep 24 13:27:50 2013 UTC (13 years, 1 month ago) by njoly
Branches: MAIN
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +45 -2
lines
Add utimensat(2) for compat linux.
Revision 1.225: download - view: text, markup, annotated - select for diffs
Sun Sep 15 12:58:34 2013 UTC (13 years, 2 months ago) by njoly
Branches: MAIN
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +2 -4
lines
Make alpha use linux_sys_utimes() just like other archs.
Revision 1.223.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:24 2013 UTC (13 years, 2 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +4 -2
lines
sync with head
Revision 1.224: download - view: text, markup, annotated - select for diffs
Sun Aug 11 09:07:15 2013 UTC (13 years, 3 months ago) by pooka
Branches: MAIN
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +4 -2
lines
Allow to build in envs without USRSTACK (namely, rump kernels on powerpc).
TODO: all of the m*() calls are by definition incompatible with rump
kernels; including them is no great damage, but they're not useful either.
Revision 1.219.12.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:16 2013 UTC (13 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.219.12.1: preferred, colored; branchpoint 1.219: preferred, colored
Changes since revision 1.219.12.1: +61 -2
lines
resync from head
Revision 1.223: download - view: text, markup, annotated - select for diffs
Mon Apr 15 19:24:04 2013 UTC (13 years, 7 months ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900
Branch point for: rmind-smpnet
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +4 -2
lines
alpha uses standard utimes.
Revision 1.222: download - view: text, markup, annotated - select for diffs
Tue Apr 9 08:00:20 2013 UTC (13 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +3 -3
lines
Fix COMPAT_LINUX32.
Revision 1.221: download - view: text, markup, annotated - select for diffs
Mon Apr 8 20:54:49 2013 UTC (13 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +59 -2
lines
support utimes on non-alpha linux platforms
Revision 1.219.12.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:56 2012 UTC (13 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +40 -2
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.219.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:43 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +40 -2
lines
sync with head
Revision 1.220: download - view: text, markup, annotated - select for diffs
Wed Sep 19 21:19:15 2012 UTC (14 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
agc-symver-base,
agc-symver
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +40 -2
lines
emulate ppoll which is essentially our pollts
Revision 1.219: download - view: text, markup, annotated - select for diffs
Fri Oct 14 09:23:28 2011 UTC (15 years, 1 month ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
tls-maxphys,
netbsd-6-1,
netbsd-6-0,
netbsd-6
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +6 -3
lines
Change the vnode locking protocol of VOP_GETATTR() to request at least
a shared lock. Make all calls outside of file systems respect it.
The calls from file systems need review.
No objections from tech-kern.
Revision 1.214.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:47 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.214.2.1: preferred, colored; branchpoint 1.214: preferred, colored; next MAIN 1.215: preferred, colored
Changes since revision 1.214.2.1: +24 -21
lines
sync with head
Revision 1.213.2.4: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:25 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.213.2.3: preferred, colored; branchpoint 1.213: preferred, colored; next MAIN 1.214: preferred, colored
Changes since revision 1.213.2.3: +16 -5
lines
Sync with HEAD.
Revision 1.218: download - view: text, markup, annotated - select for diffs
Tue Nov 2 18:18:07 2010 UTC (16 years ago) by chs
Branches: MAIN
CVS tags: uebayasi-xip-base4,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +16 -5
lines
personality() now interprets its parameter as having
the base personality type in the low byte and
various flags in the upper bytes. for now just mask off
the flags to make sure the base type is one we accept.
store the current personality in the emuldata so that
we can return the expected value for PER_QUERY.
Revision 1.213.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:47 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.213.2.2: preferred, colored; branchpoint 1.213: preferred, colored
Changes since revision 1.213.2.2: +1 -0
lines
Sync with HEAD (-D20101022).
Revision 1.197.2.7: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:01 2010 UTC (16 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.197.2.6: preferred, colored; branchpoint 1.197: preferred, colored; next MAIN 1.198: preferred, colored
Changes since revision 1.197.2.6: +3 -2
lines
sync with head
Revision 1.217: download - view: text, markup, annotated - select for diffs
Sat Sep 11 20:53:04 2010 UTC (16 years, 2 months ago) by chs
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base3
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +3 -2
lines
recent versions of linux (which we now claim to be) supply a BSD-style
d_type value in getdents() results, after the d_name field.
make our emulation do the same. fixes part of PR 43695.
Revision 1.213.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:48 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.213.2.1: preferred, colored; branchpoint 1.213: preferred, colored
Changes since revision 1.213.2.1: +8 -17
lines
Sync with HEAD.
Revision 1.197.2.6: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:08 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.197.2.5: preferred, colored; branchpoint 1.197: preferred, colored
Changes since revision 1.197.2.5: +10 -19
lines
sync with head.
Revision 1.216: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:30:35 2010 UTC (16 years, 4 months ago) by chs
Branches: MAIN
CVS tags: yamt-nfs-mp-base10,
uebayasi-xip-base2
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +9 -18
lines
many changes for COMPAT_LINUX:
- update the linux syscall table for each platform.
- support new-style (NPTL) linux pthreads on all platforms.
clone() with CLONE_THREAD uses 1 process with many LWPs
instead of separate processes.
- move the contents of sys__lwp_setprivate() into a new
lwp_setprivate() and use that everywhere.
- update linux_release[] and linux32_release[] to "2.6.18".
- adjust placement of emul fork/exec/exit hooks as needed
and adjust other emul code to match.
- convert all struct emul definitions to use named initializers.
- change the pid allocator to allow multiple pids to refer to the same proc.
- remove a few fields from struct proc that are no longer needed.
- disable the non-functional "vdso" code in linux32/amd64,
glibc works fine without it.
- fix a race in the futex code where we could miss a wakeup after
a requeue operation.
- redo futex locking to be a little more efficient.
Revision 1.214.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:31 2010 UTC (16 years, 4 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +3 -3
lines
sync with head
Revision 1.215: download - view: text, markup, annotated - select for diffs
Thu Jun 24 13:03:07 2010 UTC (16 years, 4 months ago) by hannken
Branches: MAIN
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +3 -3
lines
Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
Revision 1.165.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 12 18:38:00 2010 UTC (16 years, 5 months ago) by riz
Branches: netbsd-4
Diff to: previous 1.165.2.2: preferred, colored; branchpoint 1.165: preferred, colored; next MAIN 1.166: preferred, colored
Changes since revision 1.165.2.2: +7 -3
lines
Pull up following revision(s) (requested by he in ticket #1387):
sys/compat/svr4/svr4_misc.c: revision 1.149
sys/compat/linux/common/linux_misc.c: revision 1.214
sys/compat/common/vfs_syscalls_30.c: revision 1.31
sys/compat/sunos/sunos_misc.c: revision 1.166
sys/compat/linux/common/linux_file64.c: revision 1.50
sys/compat/svr4_32/svr4_32_misc.c: revision 1.68
sys/compat/ibcs2/ibcs2_misc.c: revision 1.110
sys/compat/linux32/common/linux32_dirent.c: revision 1.10
sys/compat/sunos32/sunos32_misc.c: revision 1.69
sys/compat/irix/irix_dirent.c: revision 1.24
sys/compat/osf1/osf1_file.c: revision 1.38
When implementing "read directory", when there are too many empty entries
in a row, and we need to try to read the next block, and have passed a
non-NULL cookie pointer to VOP_READDIR, ensure that we free the cookie
buffer before re-doing VOP_READDIR, so that we don't leak memory.
This fix is similar to nfs_serv.c revisions 1.115 + 1.124.
This should fix the long-standing problem observed by e.g. using Linux-
emulated programs to take backup of servers, which is one of the problems
which were reported in PR#42661.
Thanks to pooka@ for the hints for traversing the VOP* layer.
Revision 1.213.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:42:59 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +7 -3
lines
Sync with HEAD.
Revision 1.201.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:26 2010 UTC (16 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.201: preferred, colored; next MAIN 1.202: preferred, colored
Changes since revision 1.201: +7 -3
lines
sync to netbsd-5
Revision 1.201.6.1: download - view: text, markup, annotated - select for diffs
Wed Mar 17 02:59:52 2010 UTC (16 years, 8 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.201: preferred, colored; next MAIN 1.202: preferred, colored
Changes since revision 1.201: +7 -3
lines
Pull up following revision(s) (requested by he in ticket #1323):
sys/compat/common/vfs_syscalls_30.c: revision 1.31
sys/compat/ibcs2/ibcs2_misc.c: revision 1.110
sys/compat/irix/irix_dirent.c: revision 1.24
sys/compat/linux/common/linux_file64.c: revision 1.50
sys/compat/linux/common/linux_misc.c: revision 1.214
sys/compat/linux32/common/linux32_dirent.c: revision 1.10
sys/compat/sunos/sunos_misc.c: revision 1.166
sys/compat/sunos32/sunos32_misc.c: revision 1.69
sys/compat/svr4/svr4_misc.c: revision 1.149
sys/compat/svr4_32/svr4_32_misc.c: revision 1.68
When implementing "read directory", when there are too many empty entries
in a row, and we need to try to read the next block, and have passed a
non-NULL cookie pointer to VOP_READDIR, ensure that we free the cookie
buffer before re-doing VOP_READDIR, so that we don't leak memory.
This fix is similar to nfs_serv.c revisions 1.115 + 1.124.
This should fix the long-standing problem observed by e.g. using Linux-
emulated programs to take backup of servers, which is one of the problems
which were reported in PR#42661.
Thanks to pooka@ for the hints for traversing the VOP* layer.
Revision 1.197.2.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:16 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.197.2.4: preferred, colored; branchpoint 1.197: preferred, colored
Changes since revision 1.197.2.4: +18 -16
lines
sync with head
Revision 1.214: download - view: text, markup, annotated - select for diffs
Wed Mar 3 08:20:38 2010 UTC (16 years, 8 months ago) by he
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +7 -3
lines
When implementing "read directory", when there are too many empty entries
in a row, and we need to try to read the next block, and have passed a
non-NULL cookie pointer to VOP_READDIR, ensure that we free the cookie
buffer before re-doing VOP_READDIR, so that we don't leak memory.
This fix is similar to nfs_serv.c revisions 1.115 + 1.124.
This should fix the long-standing problem observed by e.g. using Linux-
emulated programs to take backup of servers, which is one of the problems
which were reported in PR#42661.
Thanks to pooka@ for the hints for traversing the VOP* layer.
Revision 1.213: download - view: text, markup, annotated - select for diffs
Sat Dec 5 20:11:17 2009 UTC (16 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +2 -3
lines
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
Revision 1.212: download - view: text, markup, annotated - select for diffs
Tue Nov 24 10:42:44 2009 UTC (16 years, 11 months ago) by njoly
Branches: MAIN
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +3 -3
lines
Update personality(2) to match Linux definition where the argument is an
unsigned long.
Revision 1.211: download - view: text, markup, annotated - select for diffs
Wed Nov 11 09:48:50 2009 UTC (17 years ago) by rmind
Branches: MAIN
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +5 -5
lines
- selcommon/pollcommon: drop redundant l argument.
- Use cached curlwp->l_fd, instead of p->p_fd.
- Inline selscan/pollscan.
Revision 1.210: download - view: text, markup, annotated - select for diffs
Wed Nov 4 21:23:02 2009 UTC (17 years ago) by rmind
Branches: MAIN
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +9 -10
lines
do_sys_wait(): fix previous by checking for ru != NULL. Noticed by
Onno van der Linden. Also, remove redundant arguments (seems that
was_zombie was not used since rev 1.177 ?).
Revision 1.197.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:59 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.197.2.3: preferred, colored; branchpoint 1.197: preferred, colored
Changes since revision 1.197.2.3: +3 -3
lines
sync with head.
Revision 1.205.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:41 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.205.2.1: preferred, colored; branchpoint 1.205: preferred, colored; next MAIN 1.206: preferred, colored
Changes since revision 1.205.2.1: +4 -4
lines
Sync with HEAD.
Revision 1.209: download - view: text, markup, annotated - select for diffs
Wed Jul 22 15:49:29 2009 UTC (17 years, 3 months ago) by njoly
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
jymxensuspend-base,
jym-xensuspend-nbase
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +3 -3
lines
Make compat linux/linux32 getdents(2) fail with ENOTDIR instead of
EINVAL when file descriptor does not refer to a directory.
Revision 1.197.2.3: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:17 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.197.2.2: preferred, colored; branchpoint 1.197: preferred, colored
Changes since revision 1.197.2.2: +3 -3
lines
sync with head
Revision 1.208: download - view: text, markup, annotated - select for diffs
Fri May 15 17:02:54 2009 UTC (17 years, 6 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +3 -3
lines
pad -> PAD
Revision 1.205.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:57 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +25 -30
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.197.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:22 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.197.2.1: preferred, colored; branchpoint 1.197: preferred, colored
Changes since revision 1.197.2.1: +52 -51
lines
sync with head.
Revision 1.201.4.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:07 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.201.4.2: preferred, colored; branchpoint 1.201: preferred, colored; next MAIN 1.202: preferred, colored
Changes since revision 1.201.4.2: +25 -30
lines
Sync with HEAD.
Revision 1.207: download - view: text, markup, annotated - select for diffs
Sun Mar 29 19:21:19 2009 UTC (17 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jym-xensuspend-base
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +24 -24
lines
Move the internal poll/select related API's to use timespec instead
of timeval (rides the uvm bump).
Revision 1.206: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:18 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +3 -8
lines
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
Revision 1.201.4.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:30:07 2009 UTC (17 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.201.4.1: preferred, colored; branchpoint 1.201: preferred, colored
Changes since revision 1.201.4.1: +10 -4
lines
Sync with HEAD.
Revision 1.205: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:31:40 2009 UTC (17 years, 10 months ago) by njoly
Branches: MAIN
CVS tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +10 -4
lines
Small personality(2) update.
- Allow querying current personality.
- Use symbolic names instead of magic values.
Revision 1.201.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:31 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +22 -22
lines
Sync with HEAD.
Revision 1.204: download - view: text, markup, annotated - select for diffs
Sat Jan 17 22:28:53 2009 UTC (17 years, 10 months ago) by njoly
Branches: MAIN
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +9 -4
lines
Convert linux/linux32 wait(4) to use a compat50 rusage structure.
Revision 1.193.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:44 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.193.6.3: preferred, colored; branchpoint 1.193: preferred, colored; next MAIN 1.194: preferred, colored
Changes since revision 1.193.6.3: +13 -18
lines
Sync with HEAD.
Revision 1.203: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:48 2009 UTC (17 years, 10 months ago) by christos
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +13 -7
lines
merge christos-time_t
Revision 1.201.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:56 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.201: preferred, colored; next MAIN 1.202: preferred, colored
Changes since revision 1.201: +4 -15
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.194.2.3: download - view: text, markup, annotated - select for diffs
Thu Nov 20 20:45:38 2008 UTC (17 years, 11 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.194.2.2: preferred, colored; branchpoint 1.194: preferred, colored; next MAIN 1.195: preferred, colored
Changes since revision 1.194.2.2: +4 -15
lines
merge with head.
Revision 1.202: download - view: text, markup, annotated - select for diffs
Wed Nov 12 12:36:10 2008 UTC (18 years ago) by ad
Branches: MAIN
CVS tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
christos-time_t-nbase,
christos-time_t-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +4 -15
lines
Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
Revision 1.194.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 1 21:22:26 2008 UTC (18 years ago) by christos
Branches: christos-time_t
Diff to: previous 1.194.2.1: preferred, colored; branchpoint 1.194: preferred, colored
Changes since revision 1.194.2.1: +13 -35
lines
Sync with head.
Revision 1.198.2.4: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:36:45 2008 UTC (18 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.198.2.3: preferred, colored; branchpoint 1.198: preferred, colored; next MAIN 1.199: preferred, colored
Changes since revision 1.198.2.3: +5 -5
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.193.6.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:03 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.193.6.2: preferred, colored; branchpoint 1.193: preferred, colored
Changes since revision 1.193.6.2: +3 -3
lines
Sync with HEAD.
Revision 1.199.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:19 2008 UTC (18 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.199: preferred, colored; next MAIN 1.200: preferred, colored
Changes since revision 1.199: +5 -5
lines
Sync with head.
Revision 1.201: download - view: text, markup, annotated - select for diffs
Tue Jun 24 11:18:15 2008 UTC (18 years, 4 months ago) by ad
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5,
matt-nb5-mips64,
haad-dm
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +4 -4
lines
Replace references to getsock/getvnode.
Revision 1.200: download - view: text, markup, annotated - select for diffs
Tue Jun 24 10:04:10 2008 UTC (18 years, 4 months ago) by gmcgarry
Branches: MAIN
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +3 -3
lines
ioctl commands are defined unsigned long, so cast cmd to unsigned long before comparison.
Revision 1.198.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:54 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.198.2.2: preferred, colored; branchpoint 1.198: preferred, colored
Changes since revision 1.198.2.2: +3 -3
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.195.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:04 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.195.2.1: preferred, colored; branchpoint 1.195: preferred, colored; next MAIN 1.196: preferred, colored
Changes since revision 1.195.2.1: +3 -3
lines
sync with head
Revision 1.193.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:03 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.193.6.1: preferred, colored; branchpoint 1.193: preferred, colored
Changes since revision 1.193.6.1: +8 -30
lines
Sync with HEAD.
Revision 1.199: download - view: text, markup, annotated - select for diffs
Wed May 28 12:01:10 2008 UTC (18 years, 5 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Branch point for: simonb-wapbl
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +3 -3
lines
Add LINUX_TMPFS_SUPER_MAGIC, and map it to our tmpfs.
This makes sem_open/sem_unlink (POSIX named semaphores) work under
NPTL emulation.
Revision 1.195.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:19 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +9 -12
lines
sync with head.
Revision 1.197.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:42 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +2 -9
lines
sync with head.
Revision 1.198.2.2: download - view: text, markup, annotated - select for diffs
Wed May 14 01:35:05 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.198.2.1: preferred, colored; branchpoint 1.198: preferred, colored
Changes since revision 1.198.2.1: +2 -3
lines
Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.
Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)
Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.
This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.
I think this reduction is very good thing.
Revision 1.198.2.1: download - view: text, markup, annotated - select for diffs
Sat May 10 23:48:56 2008 UTC (18 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +3 -2
lines
Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.
Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
Revision 1.198: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:43 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.197: download - view: text, markup, annotated - select for diffs
Thu Apr 24 18:39:22 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +6 -6
lines
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.
Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.
Revision 1.196: download - view: text, markup, annotated - select for diffs
Wed Apr 23 13:05:54 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +7 -3
lines
Fix locking.
Revision 1.195: download - view: text, markup, annotated - select for diffs
Fri Apr 4 12:38:53 2008 UTC (18 years, 7 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +2 -21
lines
Cleanup. Kill linux_sys_msync and use sys___msync13 instead.
No functional changes expected.
Revision 1.193.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:33 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +5 -5
lines
Sync with HEAD.
Revision 1.194.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 29 20:46:59 2008 UTC (18 years, 7 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +13 -7
lines
Welcome to the time_t=long long dev_t=uint64_t branch.
Revision 1.139.2.9: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:41 2008 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.139.2.8: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139.2.8: +5 -5
lines
sync with head.
Revision 1.183.8.4: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:32 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.183.8.3: preferred, colored; branchpoint 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183.8.3: +2 -161
lines
sync with HEAD
Revision 1.194: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:54:58 2008 UTC (18 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
ad-socklock-base1
Branch point for: christos-time_t
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +5 -5
lines
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.
Revision 1.184.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:27 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.184.2.3: preferred, colored; branchpoint 1.184: preferred, colored; next MAIN 1.185: preferred, colored
Changes since revision 1.184.2.3: +2 -161
lines
Sync with HEAD.
Revision 1.139.2.8: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:41:25 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.139.2.7: preferred, colored
Changes since revision 1.139.2.7: +117 -380
lines
sync with head
Revision 1.189.4.2: download - view: text, markup, annotated - select for diffs
Sat Jan 19 12:14:58 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.189.4.1: preferred, colored; branchpoint 1.189: preferred, colored; next MAIN 1.190: preferred, colored
Changes since revision 1.189.4.1: +0 -159
lines
Sync with HEAD
Revision 1.193: download - view: text, markup, annotated - select for diffs
Tue Jan 15 22:38:34 2008 UTC (18 years, 10 months ago) by njoly
Branches: MAIN
CVS tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +2 -161
lines
compat linux (and linux32) uid16 functions cleanup and fixes.
- Move uid16 functions to their own file linux_uid16.c, included by
needed archs (arm, i386 and m68k).
- Add new MI types linux_{u,g}id16_t.
- Add macros to handle linux_uid16_t and uid_t conversions.
- Add linux_sys_getres{uid,gid}16 syscalls, to fix an overflow with
bad sizes given to copyout when linux_sys_getres{uid,gid} are used.
- Update arm syscall table to use more uid16 functions.
Revision 1.183.8.3: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:51:12 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.183.8.2: preferred, colored; branchpoint 1.183: preferred, colored
Changes since revision 1.183.8.2: +147 -251
lines
sync with HEAD
Revision 1.189.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:52:36 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +136 -153
lines
Sync with HEAD
Revision 1.184.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:44:09 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.184.2.2: preferred, colored; branchpoint 1.184: preferred, colored
Changes since revision 1.184.2.2: +137 -241
lines
Sync with HEAD.
Revision 1.187.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:00 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.187.2.1: preferred, colored; branchpoint 1.187: preferred, colored; next MAIN 1.188: preferred, colored
Changes since revision 1.187.2.1: +137 -241
lines
Sync with head.
Revision 1.192: download - view: text, markup, annotated - select for diffs
Mon Dec 24 14:17:18 2007 UTC (18 years, 10 months ago) by njoly
Branches: MAIN
CVS tags: vmlocking2-base3,
matt-armv6-base
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +2 -26
lines
Kill unneeded linux_sys_getpgid and use native sys_getpgid instead.
Revision 1.191: download - view: text, markup, annotated - select for diffs
Fri Dec 21 22:26:22 2007 UTC (18 years, 10 months ago) by njoly
Branches: MAIN
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +17 -9
lines
- Fix setfsuid to return uid on success.
- Replace getfsuid, which never existed on Linux, by correct setfsgid
syscall.
ok by christos and dsl.
Revision 1.190: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:02:55 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +126 -127
lines
Convert all the system call entry points from:
int foo(struct lwp *l, void *v, register_t *retval)
to:
int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.
Revision 1.183.6.4: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:01 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.183.6.3: preferred, colored; branchpoint 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183.6.3: +35 -122
lines
Sync with HEAD.
Revision 1.189: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:36:08 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +31 -118
lines
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
Revision 1.184.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:49 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.184.2.1: preferred, colored; branchpoint 1.184: preferred, colored
Changes since revision 1.184.2.1: +7 -7
lines
Sync with HEAD.
Revision 1.187.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:56:49 2007 UTC (18 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +6 -6
lines
Sync with head.
Revision 1.139.2.7: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:28:22 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.139.2.6: preferred, colored
Changes since revision 1.139.2.6: +7 -7
lines
sync with head
Revision 1.188: download - view: text, markup, annotated - select for diffs
Tue Dec 4 18:40:16 2007 UTC (18 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +6 -6
lines
Remove all the __P
Revision 1.183.6.3: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:36:46 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.183.6.2: preferred, colored; branchpoint 1.183: preferred, colored
Changes since revision 1.183.6.2: +3 -3
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.187: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:01:32 2007 UTC (18 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: vmlocking2-base1,
vmlocking-nbase
Branch point for: vmlocking2
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +3 -3
lines
Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp should
be used.
quick consensus on tech-kern
Revision 1.184.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:47:28 2007 UTC (19 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +10 -8
lines
Sync with HEAD.
Revision 1.139.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:43:51 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.139.2.5: preferred, colored
Changes since revision 1.139.2.5: +10 -8
lines
sync with head.
Revision 1.183.12.2: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:00:36 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.183.12.1: preferred, colored; branchpoint 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183.12.1: +8 -6
lines
Sync with HEAD
Revision 1.183.6.2: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:47:13 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.183.6.1: preferred, colored; branchpoint 1.183: preferred, colored
Changes since revision 1.183.6.1: +10 -8
lines
Sync with HEAD.
Revision 1.186: download - view: text, markup, annotated - select for diffs
Thu Nov 8 21:07:23 2007 UTC (19 years ago) by njoly
Branches: MAIN
CVS tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +8 -8
lines
Replace strncpy with strlcpy in compat linux and linux32 uname,
old_uname and oldold_uname syscalls to ensure that all *utsname fields
are always NUL terminated.
Revision 1.183.8.2: download - view: text, markup, annotated - select for diffs
Thu Nov 8 10:59:45 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.183.8.1: preferred, colored; branchpoint 1.183: preferred, colored
Changes since revision 1.183.8.1: +4 -2
lines
sync with -HEAD
Revision 1.185: download - view: text, markup, annotated - select for diffs
Wed Nov 7 00:24:29 2007 UTC (19 years ago) by njoly
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +4 -2
lines
Remove remaining 64-bit compat linux syscalls linux_sys_xxx() (except
for ones without arguments), and replace them by their 32-bit
equivalent linux32_sys_xxxx().
Revision 1.183.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:24:58 2007 UTC (19 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +4 -2
lines
sync with HEAD
Revision 1.139.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:37 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.139.2.4: preferred, colored
Changes since revision 1.139.2.4: +4 -2
lines
sync with head.
Revision 1.183.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:43:58 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +4 -2
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.183.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:36:57 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +4 -2
lines
Sync with HEAD.
Revision 1.184: download - view: text, markup, annotated - select for diffs
Fri Oct 19 18:52:11 2007 UTC (19 years, 1 month ago) by njoly
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +4 -2
lines
Add compat_linux and exec_linux_elf lkm support for amd64:
- Add needed COMPAT_OSSAUDIO to GENERIC.
- Add missing includes needed by linux_syscallargs.h.
- Add lkm building.
Revision 1.139.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:32:23 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.139.2.3: preferred, colored
Changes since revision 1.139.2.3: +127 -271
lines
sync with head.
Revision 1.167.2.5: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:25:54 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.167.2.4: preferred, colored; next MAIN 1.168: preferred, colored
Changes since revision 1.167.2.4: +4 -4
lines
Sync with HEAD.
Revision 1.183: download - view: text, markup, annotated - select for diffs
Tue Jul 17 17:42:08 2007 UTC (19 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +4 -4
lines
Add native mremap system call based on the UVM implementation for
Linux compat. Add code to enforce alignment of the new location.
Special thanks to wizd for helping with the man page.
Revision 1.167.2.4: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:11 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.167.2.3: preferred, colored
Changes since revision 1.167.2.3: +52 -78
lines
Sync with head.
Revision 1.167.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:16 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.167: preferred, colored; next MAIN 1.168: preferred, colored
Changes since revision 1.167: +114 -258
lines
Sync with head.
Revision 1.182: download - view: text, markup, annotated - select for diffs
Wed Jul 4 21:59:16 2007 UTC (19 years, 4 months ago) by dsl
Branches: MAIN
CVS tags: mjf-ufs-trans-base
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +8 -3
lines
It seems that min(16,16) isn't a compile time constant.
So don't bother limiting the local arrays to NGROUPS, just use 16.
Revision 1.181: download - view: text, markup, annotated - select for diffs
Sat Jun 30 13:34:19 2007 UTC (19 years, 4 months ago) by dsl
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +26 -31
lines
Match updates to kauth_cred_set/getgroups.
Revision 1.180: download - view: text, markup, annotated - select for diffs
Sat Jun 23 15:27:23 2007 UTC (19 years, 4 months ago) by dsl
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +51 -78
lines
Simplify code to get/set 16bit group lists.
Cloned from ibcs2 copy (maybe I should have worked out somewhere to put this
as common code...)
Revision 1.179: download - view: text, markup, annotated - select for diffs
Sat Jun 23 09:09:56 2007 UTC (19 years, 4 months ago) by dsl
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +3 -2
lines
These now need sys/prot.h
Revision 1.167.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:57:42 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.167.2.2: preferred, colored
Changes since revision 1.167.2.2: +8 -18
lines
Sync with head.
Revision 1.178: download - view: text, markup, annotated - select for diffs
Mon Jun 4 21:02:22 2007 UTC (19 years, 5 months ago) by dsl
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +5 -4
lines
Fix select() without a timeout parameter.
Revision 1.177: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:51:42 2007 UTC (19 years, 5 months ago) by dsl
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +7 -18
lines
Call selcommon() directly instead of using the stackgap...
Revision 1.167.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:35:06 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.167.2.1: preferred, colored
Changes since revision 1.167.2.1: +59 -159
lines
Sync with head.
Revision 1.166.2.5: download - view: text, markup, annotated - select for diffs
Thu May 17 13:41:14 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.166.2.4: preferred, colored; branchpoint 1.166: preferred, colored; next MAIN 1.167: preferred, colored
Changes since revision 1.166.2.4: +40 -60
lines
sync with head.
Revision 1.176: download - view: text, markup, annotated - select for diffs
Sat May 12 21:07:02 2007 UTC (19 years, 6 months ago) by dsl
Branches: MAIN
CVS tags: yamt-idlelwp-base8
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +15 -26
lines
There is no need to use the stackgap for get/setrlimit.
Revision 1.175: download - view: text, markup, annotated - select for diffs
Thu May 10 21:30:15 2007 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +3 -3
lines
- linux uname -m on x86 returns i{3,4,5,6}86 make it so.
- delete the machine sysctl that never worked, and gc linux_machine.
Revision 1.174: download - view: text, markup, annotated - select for diffs
Tue May 8 20:54:15 2007 UTC (19 years, 6 months ago) by dsl
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +10 -7
lines
Remember to copy the rusage to the users buffer.
Revision 1.173: download - view: text, markup, annotated - select for diffs
Mon May 7 16:53:18 2007 UTC (19 years, 6 months ago) by dsl
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +23 -35
lines
Split sys_wait4() so that compat code can fiddle with the returned 'status'
and 'rusage' without having to copy data to/from stackgap buffers.
The old split (find_stopped_child) could be removed.
amd64 seems to run netbsd32, linux and linux32 emulations. sparc64 compiles.
Revision 1.166.2.4: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:13 2007 UTC (19 years, 6 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.166.2.3: preferred, colored; branchpoint 1.166: preferred, colored
Changes since revision 1.166.2.3: +19 -48
lines
sync with head.
Revision 1.172: download - view: text, markup, annotated - select for diffs
Mon Apr 30 14:05:47 2007 UTC (19 years, 6 months ago) by dsl
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +19 -46
lines
Rework compat stat() and statvfs() code so that it no longer uses the stackgap.
Revision 1.171: download - view: text, markup, annotated - select for diffs
Sun Apr 22 08:29:57 2007 UTC (19 years, 7 months ago) by dsl
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +2 -4
lines
Change the way that emulations locate files within the emulation root to
avoid having to allocate space in the 'stackgap'
- which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
search for absolute pathnames in the emulation root, if that fails it will
retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
the real root is returned instead (matching the behaviour of emul_lookup,
but being a cheap comparison here) so that programs that scan "../.."
looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.
Revision 1.165.2.2: download - view: text, markup, annotated - select for diffs
Fri Apr 20 20:26:04 2007 UTC (19 years, 7 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.165.2.1: preferred, colored; branchpoint 1.165: preferred, colored
Changes since revision 1.165.2.1: +1 -53
lines
Pull up following revision(s) (requested by njoly in ticket #582):
sys/compat/linux32/common/linux32_types.h: revision 1.4 via patch
sys/compat/linux32/arch/amd64/syscalls.master: revision 1.14 via patch
sys/compat/linux/common/linux_statfs.h: revision 1.1 via patch
sys/compat/linux/common/linux_misc.c: revision 1.170 via patch
sys/compat/linux32/common/linux32_misc.c: revision 1.5 via patch
sys/compat/linux32/files.linux32: revision 1.4 via patch
- Add compat amd64 linux32 statfs support, adapted from PR/35956.
- Move bsd_to_linux_statfs() function to its own file to be shared
between both linux compats.
Revision 1.165.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 20 20:14:11 2007 UTC (19 years, 7 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +2 -6
lines
Pull up following revision(s) (requested by njoly in ticket #581):
sys/compat/linux/common/linux_misc.c: revision 1.168
sys/compat/linux/arch/amd64/syscalls.master: revision 1.18
sys/compat/linux/common/linux_types.h: revision 1.25
sys/compat/linux/arch/amd64/linux_machdep.h: revision 1.6
sys/compat/linux/common/linux_misc_notalpha.c: revision 1.87
Fix compat linux statfs/fstatfs syscalls on amd64.
- Do not use statfs64/fstatfs64 as they have an extra size argument.
- Add full 64bit linux struct statfs support.
Revision 1.166.2.3: download - view: text, markup, annotated - select for diffs
Sun Apr 15 16:03:14 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.166.2.2: preferred, colored; branchpoint 1.166: preferred, colored
Changes since revision 1.166.2.2: +4 -55
lines
sync with head.
Revision 1.170: download - view: text, markup, annotated - select for diffs
Wed Apr 11 11:45:55 2007 UTC (19 years, 7 months ago) by njoly
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +4 -55
lines
- Add compat amd64 linux32 statfs support, adapted from PR/35956.
- Move bsd_to_linux_statfs() function to its own file to be shared
between both linux compats.
ok by manu.
Revision 1.167.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:26:22 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +3 -11
lines
Sync with head.
Revision 1.168.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 29 19:27:37 2007 UTC (19 years, 7 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.168: preferred, colored; next MAIN 1.169: preferred, colored
Changes since revision 1.168: +3 -7
lines
Pullup to -current
Revision 1.166.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:09 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.166.2.1: preferred, colored; branchpoint 1.166: preferred, colored
Changes since revision 1.166.2.1: +3 -11
lines
sync with head.
Revision 1.169: download - view: text, markup, annotated - select for diffs
Fri Mar 23 04:16:13 2007 UTC (19 years, 7 months ago) by mrg
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +3 -7
lines
implement emul.linux.kern.machine, which can be set to "i686", like
some applications seem to want.
Revision 1.168: download - view: text, markup, annotated - select for diffs
Wed Mar 14 12:44:39 2007 UTC (19 years, 8 months ago) by njoly
Branches: MAIN
Branch point for: reinoud-bufcleanup
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +2 -6
lines
Fix compat linux statfs/fstatfs syscalls on amd64.
- Do not use statfs64/fstatfs64 as they have an extra size argument.
- Add full 64bit linux struct statfs support.
ok by manu
Revision 1.166.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:52:27 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +21 -21
lines
Sync with HEAD.
Revision 1.167: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:24 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +21 -21
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.139.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:21 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.139.2.2: preferred, colored
Changes since revision 1.139.2.2: +6 -6
lines
sync with head.
Revision 1.166: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:19 2007 UTC (19 years, 9 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +6 -6
lines
Merge newlock2 to head.
Revision 1.161.2.4: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:33 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.161.2.3: preferred, colored; branchpoint 1.161: preferred, colored; next MAIN 1.162: preferred, colored
Changes since revision 1.161.2.3: +2 -3
lines
Remove support for SA. Ok core@.
Revision 1.139.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:38 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.139.2.1: preferred, colored
Changes since revision 1.139.2.1: +36 -49
lines
sync with head.
Revision 1.161.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:27:43 2006 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.161.2.2: preferred, colored; branchpoint 1.161: preferred, colored
Changes since revision 1.161.2.2: +3 -3
lines
Checkpoint work in progress.
Revision 1.162.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:47 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.162.2.1: preferred, colored; branchpoint 1.162: preferred, colored; next MAIN 1.163: preferred, colored
Changes since revision 1.162.2.1: +13 -13
lines
sync with head.
Revision 1.161.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:07 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.161.2.1: preferred, colored; branchpoint 1.161: preferred, colored
Changes since revision 1.161.2.1: +19 -41
lines
Sync with head.
Revision 1.165: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:42 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
newlock2-nbase,
newlock2-base,
netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +11 -11
lines
__unused removal on arguments; approved by core.
Revision 1.164: download - view: text, markup, annotated - select for diffs
Tue Nov 14 13:34:29 2006 UTC (20 years ago) by elad
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +4 -4
lines
Clean some KAUTH_GENERIC_ISSUSER usage in compat code.
Revision 1.161.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 24 21:10:22 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +6 -5
lines
- Redo LWP locking slightly and fix some races.
- Fix some locking botches.
- Make signal mask / stack per-proc for SA processes.
- Add _lwp_kill().
Revision 1.162.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:24 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +11 -34
lines
sync with head
Revision 1.163: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:48 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +11 -34
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.151.2.6: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:22 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.151.2.5: preferred, colored; branchpoint 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151.2.5: +8 -7
lines
sync with head.
Revision 1.162: download - view: text, markup, annotated - select for diffs
Wed Sep 13 19:55:49 2006 UTC (20 years, 2 months ago) by manu
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +8 -7
lines
Jumbo COMPAT_LINUX/COMPAT_LINUX32 bugfix, with the help of Nicolas Joly
- Fix shmat return value on amd64: it uses no black magic with retval[0]
- Fix integer overflows in sysinfo
- Implement sysinfo, mmap2, sched_getparam, sched_getscheduler, mremap,
and madvise in COMPAT_LINUX32
- Fix improper types used in setgroups16/getgroups16
- Implement mmap2 for COMPAT_LINUX32
- Ifdef debug messages by DEBUG_LINUX
Revision 1.149.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:45:52 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149: +135 -133
lines
sync with head
Revision 1.151.2.5: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:41 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.151.2.4: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.4: +14 -2
lines
sync with head.
Revision 1.161: download - view: text, markup, annotated - select for diffs
Fri Sep 1 21:20:47 2006 UTC (20 years, 2 months ago) by matt
Branches: MAIN
CVS tags: yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +10 -4
lines
When calling PTRACE from an LKM, use sysent[SYS_ptrace].sy_call in case
the sys_ptrace symbol isn't present.
Revision 1.160: download - view: text, markup, annotated - select for diffs
Wed Aug 30 17:14:34 2006 UTC (20 years, 2 months ago) by he
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +4 -2
lines
Allow this to build as an LKM by testing for _KERNEL_OPT before
including opt_ptrace.h.
Revision 1.159: download - view: text, markup, annotated - select for diffs
Wed Aug 30 11:14:39 2006 UTC (20 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +6 -2
lines
Update to deal with options PTRACE
Revision 1.151.2.4: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:29 2006 UTC (20 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.151.2.3: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.3: +9 -12
lines
sync with head
Revision 1.158: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:09 2006 UTC (20 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +9 -12
lines
Use the LWP cached credentials where sane.
Revision 1.151.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:46:18 2006 UTC (20 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.151.2.2: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.2: +29 -7
lines
sync with head.
Revision 1.139.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:59:12 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +210 -150
lines
sync with head.
Revision 1.154.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 03:45:52 2006 UTC (20 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.154: preferred, colored; next MAIN 1.155: preferred, colored
Changes since revision 1.154: +29 -7
lines
Sync with head.
Revision 1.157: download - view: text, markup, annotated - select for diffs
Tue Jun 13 16:54:56 2006 UTC (20 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +3 -3
lines
change 20 to NZERO; pointed out by mrg.
Revision 1.156: download - view: text, markup, annotated - select for diffs
Sat Jun 10 21:18:11 2006 UTC (20 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +26 -2
lines
PR/33671: Nicolas Joly: Add a getpriority syscall to account for the fact
that the linux getpriority is off by 20.
Revision 1.155: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:33:33 2006 UTC (20 years, 5 months ago) by kardel
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +5 -7
lines
merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
Revision 1.149.4.3: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:51 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.149.4.2: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.4.2: +42 -30
lines
Sync with head.
Revision 1.151.6.2: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:27 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.151.6.1: preferred, colored; branchpoint 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151.6.1: +42 -30
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.151.2.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:28 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.151.2.1: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.1: +42 -30
lines
sync with head.
Revision 1.154: download - view: text, markup, annotated - select for diffs
Sun May 14 21:24:50 2006 UTC (20 years, 6 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base5,
simonb-timecounters-base
Branch point for: chap-midi
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +18 -14
lines
integrate kauth.
Revision 1.151.4.6: download - view: text, markup, annotated - select for diffs
Thu May 11 23:27:31 2006 UTC (20 years, 6 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.151.4.5: preferred, colored; branchpoint 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151.4.5: +26 -18
lines
sync with head
Revision 1.153: download - view: text, markup, annotated - select for diffs
Wed May 10 11:05:34 2006 UTC (20 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +26 -18
lines
don't allocate struct statvfs on stack as it's too large.
while i'm here, remove some unnecessary casts.
Revision 1.151.4.5: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:26 2006 UTC (20 years, 6 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.151.4.4: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.4.4: +3 -2
lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
that need it.
Approved by core.
Revision 1.149.4.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:13 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.149.4.1: preferred, colored
Changes since revision 1.149.4.1: +54 -95
lines
Sync with head.
Revision 1.151.4.4: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:01:21 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.151.4.3: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.4.3: +11 -5
lines
sync with head.
Revision 1.151.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:41 2006 UTC (20 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +11 -5
lines
sync with head.
Revision 1.151.6.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 09:42:02 2006 UTC (20 years, 7 months ago) by tron
Branches: peter-altq
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +11 -5
lines
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
Revision 1.152: download - view: text, markup, annotated - select for diffs
Fri Mar 17 06:01:14 2006 UTC (20 years, 8 months ago) by erh
Branches: MAIN
CVS tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +11 -5
lines
Fix Coverity issues 2321 and 2320. Make sure to free allocated memory.
Revision 1.151.4.3: download - view: text, markup, annotated - select for diffs
Fri Mar 10 14:28:52 2006 UTC (20 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.151.4.2: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.4.2: +3 -3
lines
generic_authorize() -> kauth_authorize_generic().
Revision 1.151.4.2: download - view: text, markup, annotated - select for diffs
Wed Mar 8 19:24:07 2006 UTC (20 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.151.4.1: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.4.1: +3 -3
lines
Adapt to kernel authorization KPI.
Revision 1.151.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:48:38 2006 UTC (20 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +16 -13
lines
Adapt to kernel authorization KPI.
Revision 1.151: download - view: text, markup, annotated - select for diffs
Wed Mar 1 12:38:12 2006 UTC (20 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
peter-altq,
elad-kernelauth
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -4
lines
merge yamt-uio_vmspace branch.
- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
Revision 1.147.2.3: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:38:59 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.147.2.2: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147.2.2: +44 -90
lines
sync with head.
Revision 1.150: download - view: text, markup, annotated - select for diffs
Thu Feb 9 19:18:56 2006 UTC (20 years, 9 months ago) by manu
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +44 -90
lines
Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.
While I'm here, add SysV IPC to COMPAT_LINUX/amd64
Revision 1.149.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 14:03:58 2006 UTC (20 years, 9 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +5 -7
lines
Adapt for timecounters: mostly use get*time() and use "time_second"
instead of "time.tv_sec".
Revision 1.147.2.2: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:51:48 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.147.2.1: preferred, colored
Changes since revision 1.147.2.1: +45 -35
lines
sync with head.
Revision 1.149: download - view: text, markup, annotated - select for diffs
Tue Jan 31 14:02:55 2006 UTC (20 years, 9 months ago) by yamt
Branches: MAIN
Branch point for: simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +8 -0
lines
linux_sys_mremap: validate flags.
Revision 1.148: download - view: text, markup, annotated - select for diffs
Sat Jan 21 13:34:15 2006 UTC (20 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +38 -36
lines
implement compat_linux mremap.
Revision 1.147.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 31 12:37:20 2005 UTC (20 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +3 -4
lines
adapt some random parts of kernel to uio_vmspace.
Revision 1.147: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:19 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +6 -6
lines
merge ktrace-lwp.
Revision 1.121.2.12: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:46 2005 UTC (20 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.121.2.11: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121.2.11: +26 -2
lines
Sync with head.
Revision 1.146: download - view: text, markup, annotated - select for diffs
Wed Nov 30 11:36:22 2005 UTC (20 years, 11 months ago) by rpaulo
Branches: MAIN
CVS tags: ktrace-lwp-base
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +3 -3
lines
Remove the debugging printf left in linux_sys_getrlimit().
Revision 1.143.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:05 2005 UTC (20 years, 11 months ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143: +26 -2
lines
sync with head.
Revision 1.145: download - view: text, markup, annotated - select for diffs
Wed Nov 23 22:23:30 2005 UTC (20 years, 11 months ago) by manu
Branches: MAIN
CVS tags: yamt-readahead-base3
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +2 -3
lines
Remove a debug printf
Revision 1.144: download - view: text, markup, annotated - select for diffs
Wed Nov 23 16:14:57 2005 UTC (20 years, 11 months ago) by manu
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +27 -2
lines
- Add Linux tkill and tgkill (partial emulation).
- Fix getrlimit on amd64
Revision 1.121.2.11: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:01:07 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.121.2.10: preferred, colored
Changes since revision 1.121.2.10: +70 -27
lines
Sync with HEAD. Here we go again...
Revision 1.143: download - view: text, markup, annotated - select for diffs
Mon Nov 7 14:17:45 2005 UTC (21 years ago) by manu
Branches: MAIN
CVS tags: yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base2,
yamt-readahead-base
Branch point for: yamt-readahead
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -2
lines
Include linux_machdep.h so that LINUX_UNAME_ARCH ges defined (fixes
uname emulation)
Revision 1.142: download - view: text, markup, annotated - select for diffs
Fri Nov 4 16:58:14 2005 UTC (21 years ago) by manu
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +6 -2
lines
Fix machine name returned by uname on Linux
Revision 1.140.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 2 11:57:56 2005 UTC (21 years ago) by yamt
Branches: yamt-vop
Diff to: previous 1.140: preferred, colored; next MAIN 1.141: preferred, colored
Changes since revision 1.140: +37 -10
lines
sync with head.
Revision 1.135.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 1 22:31:17 2005 UTC (21 years ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Diff to: previous 1.135.2.1: preferred, colored; branchpoint 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135.2.1: +35 -8
lines
Pull up following revision(s) (requested by chs in ticket #924):
sys/compat/linux/common/linux_misc.c: revision 1.141
sys/compat/linux/common/linux_mmap.h: revision 1.17
add support for the linux PROT_GROWS{DOWN,UP} mprotect() flags.
fixes PR 30008.
Revision 1.141: download - view: text, markup, annotated - select for diffs
Sun Oct 30 16:25:50 2005 UTC (21 years ago) by chs
Branches: MAIN
CVS tags: yamt-vop-base3
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +37 -10
lines
add support for the linux PROT_GROWS{DOWN,UP} mprotect() flags.
fixes PR 30008.
Revision 1.135.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 1 10:39:27 2005 UTC (21 years, 1 month ago) by tron
Branches: netbsd-3
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +10 -4
lines
Pull up following revision(s) (requested by christos in ticket #838):
sys/compat/svr4/svr4_misc.c: revision 1.112
sys/compat/ibcs2/ibcs2_misc.c: revision 1.74
sys/compat/linux/common/linux_misc.c: revision 1.136
sys/compat/irix/irix_dirent.c: revision 1.14
sys/compat/sunos/sunos_misc.c: revision 1.132
sys/compat/svr4_32/svr4_32_misc.c: revision 1.31
sys/compat/sunos32/sunos32_misc.c: revision 1.30
sys/compat/linux/common/linux_file64.c: revision 1.26
PR/29696: Joel Carnat: NetBSD freezes when accessing smbfs mounted FS with
firefox/linux due to compat getdents() call assumption that all filesystems
support cookies.
Revision 1.140: download - view: text, markup, annotated - select for diffs
Sat Sep 10 19:20:50 2005 UTC (21 years, 2 months ago) by jmmv
Branches: MAIN
CVS tags: yamt-vop-base2,
yamt-vop-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-vop
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +4 -3
lines
Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.
The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.
Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.
OK'ed by my project mentor, William Studenmund (wrstuden@).
Revision 1.139: download - view: text, markup, annotated - select for diffs
Thu Jun 2 13:03:27 2005 UTC (21 years, 5 months ago) by drochner
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +3 -3
lines
more cast-qual fallout
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sun May 29 22:08:16 2005 UTC (21 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +10 -11
lines
- sprinkle const.
- add XXXUNCONST to the emul_find() pbuf argument free'ing. XXX: this needs
an api change.
- avoid variable shadowing.
Revision 1.137: download - view: text, markup, annotated - select for diffs
Tue May 3 16:26:28 2005 UTC (21 years, 6 months ago) by manu
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +11 -6
lines
First work on COMPAT_LINUX/amd64
Process startup and dynamiclinking work, but processes hang due to
Linux arch_prctl(2) not being really supported yet.
Revision 1.134.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:40 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.134: preferred, colored; next MAIN 1.135: preferred, colored
Changes since revision 1.134: +22 -16
lines
sync with -current
Revision 1.136: download - view: text, markup, annotated - select for diffs
Tue Apr 19 19:00:25 2005 UTC (21 years, 7 months ago) by christos
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +10 -4
lines
PR/29696: Joel Carnat: NetBSD freezes when accessing smbfs mounted FS with
firefox/linux due to compat getdents() call assumption that all filesystems
support cookies.
Revision 1.134.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:37 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.134: preferred, colored; next MAIN 1.135: preferred, colored
Changes since revision 1.134: +14 -14
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.121.2.10: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:40:02 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.121.2.9: preferred, colored
Changes since revision 1.121.2.9: +14 -14
lines
Sync with HEAD.
Hi Perry!
Revision 1.135: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:10:19 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +14 -14
lines
nuke trailing whitespace
Revision 1.121.2.9: download - view: text, markup, annotated - select for diffs
Sun Nov 14 08:15:43 2004 UTC (22 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.121.2.8: preferred, colored
Changes since revision 1.121.2.8: +4 -3
lines
Sync with HEAD.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Sat Nov 13 07:19:27 2004 UTC (22 years ago) by christos
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +4 -3
lines
Add ptyfs magic number and entry.
Revision 1.122.2.4: download - view: text, markup, annotated - select for diffs
Fri Nov 12 06:18:59 2004 UTC (22 years ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2
Diff to: previous 1.122.2.3: preferred, colored; branchpoint 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122.2.3: +13 -6
lines
Pullup rev 1.133 (requested by christos in ticket #950)
Prevent linux processes from losing their children and creating
tons of zombie processes.
Revision 1.121.2.8: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:56:43 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.121.2.7: preferred, colored
Changes since revision 1.121.2.7: +13 -6
lines
Sync with HEAD
Revision 1.133: download - view: text, markup, annotated - select for diffs
Thu Oct 7 19:30:28 2004 UTC (22 years, 1 month ago) by erh
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +13 -6
lines
PR kern/27184: Have linux_sys_waitpid() call linux_sys_wait4() so the
supported options can't get out of sync. This add support for the
linux __WCLONE and __WALL options (NetBSD version: WALTSIG and WALLSIG)
Add a diagnostic check to see if the one unhandled option (__WNOTHREAD) is
specified.
This should prevent linux processes from losing their children and creating
tons of zombie processes.
Revision 1.121.2.7: download - view: text, markup, annotated - select for diffs
Fri Sep 24 10:53:18 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.121.2.6: preferred, colored
Changes since revision 1.121.2.6: +26 -16
lines
Sync with HEAD.
Revision 1.121.2.6: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:25:39 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.121.2.5: preferred, colored
Changes since revision 1.121.2.5: +6 -6
lines
Fix the sync with head I botched.
Revision 1.132: download - view: text, markup, annotated - select for diffs
Mon Sep 20 18:41:07 2004 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +10 -12
lines
implement support for Linux statfs64() syscall - 64bit variant of statfs()
Revision 1.131: download - view: text, markup, annotated - select for diffs
Sun Sep 19 16:50:11 2004 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +18 -6
lines
Adjust struct statfs content to flag that the newer Linux kernel do
provide f_frsize. It cannot be actually used to GNU C statvfs() bug
in f_frsize != f_bsize case, so just keep pretending we don't support it.
Update comments and explain the situation in detail there.
Revision 1.121.2.5: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:43:43 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.121.2.4: preferred, colored
Changes since revision 1.121.2.4: +8 -8
lines
Sync with HEAD.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Fri Sep 17 14:11:24 2004 UTC (22 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +3 -3
lines
There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).
OK'd by Jason Thorpe
Revision 1.129: download - view: text, markup, annotated - select for diffs
Mon Sep 13 20:09:44 2004 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +4 -4
lines
bsd_to_linux_statfs():
- filesystem size is expressed in number of fragments, not blocks;
this fixes computed filesystem sizes for Linux df(1) and other Linux
binaries using statfs(2) for filesystems, which use different value
for frament and block, such as FFS
- use FS f_namemax instead of always using MAXNAMLEN
Revision 1.122.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 5 10:49:57 2004 UTC (22 years, 2 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1
Diff to: previous 1.122.2.2: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.2: +55 -7
lines
Pull up revision 1.128 (requested by jdolecek in ticket #810):
handle mmap() request with MAP_GROWSDOWN flag (request for stack-like
grow-down auto extend segment) by allocating segment sized at
current stack size limit, and offsetting requested/returned address
as required
due to how normal virtual memory management work, allocating the
full sized stack memory segment up-front actually requires exactly same
amount of VA space and physical memory as the Linux 'grow' scheme and the
'grow' scheme is quite a lot more difficult to use in applications correctly,
so it's not very apparent why Linux introduced this feature at all
this fixes Thomas Klausner's Heroes3 crash, and might also
fix PR 26687 by Jan Schaumann
Revision 1.121.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:45:16 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.121.2.3: preferred, colored
Changes since revision 1.121.2.3: +57 -9
lines
Sync with HEAD
Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun Aug 29 14:08:06 2004 UTC (22 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +57 -9
lines
handle mmap() request with MAP_GROWSDOWN flag (request for stack-like
grow-down auto extend segment) by allocating segment sized at
current stack size limit, and offsetting requested/returned address
as required
due to how normal virtual memory management work, allocating the
full sized stack memory segment up-front actually requires exactly same
amount of VA space and physical memory as the Linux 'grow' scheme and the
'grow' scheme is quite a lot more difficult to use in applications correctly,
so it's not very apparent why Linux introduced this feature at all
this fixes Thomas Klausner's Heroes3 crash, and might also
fix PR 26687 by Jan Schaumann
Revision 1.122.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 15 13:59:07 2004 UTC (22 years, 3 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.122.2.1: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.2.1: +4 -4
lines
Pull up revision 1.127 (requested by jdolecek in ticket #762):
linux processes sharing VM space (via clone() call) must also
share same 'break' value used for brk()/sbrk(), otherwise application SIGSEGVs
quickly once different threads try to adjust data segment size
this fixes linux Mozilla crashes with SuSE 9.1 libraries, and possibly
other linux applications using real threads
Revision 1.121.2.3: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:41:14 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.121.2.2: preferred, colored
Changes since revision 1.121.2.2: +4 -4
lines
Sync with HEAD.
Revision 1.122.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 11 19:55:46 2004 UTC (22 years, 3 months ago) by jmc
Branches: netbsd-2-0
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +3 -3
lines
Pullup rev 1.126 (requested by jdolecek in ticket #740)
Linux returns ENOMEM (not EFAULT) if the address specified in mprotect()
is not part of process address space.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Sun Aug 8 09:40:50 2004 UTC (22 years, 3 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +4 -4
lines
linux processes sharing VM space (via clone() call) must also
share same 'break' value used for brk()/sbrk(), otherwise application SIGSEGVs
quickly once different threads try to adjust data segment size
this fixes linux Mozilla crashes with SuSE 9.1 libraries, and possibly
other linux applications using real threads
Revision 1.121.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:04 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.121.2.1: preferred, colored
Changes since revision 1.121.2.1: +22 -22
lines
Sync with HEAD
Revision 1.126: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:44:10 2004 UTC (22 years, 3 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +3 -3
lines
Linux returns ENOMEM (not EFAULT) if the address specified in mprotect()
is not part of process address space
this fixes Linux libgcc_s's stack executability setup
Revision 1.125: download - view: text, markup, annotated - select for diffs
Wed Apr 21 02:37:20 2004 UTC (22 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +7 -5
lines
fix more statvfs1 fallout
Revision 1.124: download - view: text, markup, annotated - select for diffs
Wed Apr 21 02:27:34 2004 UTC (22 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +3 -3
lines
s/statvfs/statvfs1/
Revision 1.123: download - view: text, markup, annotated - select for diffs
Wed Apr 21 01:05:36 2004 UTC (22 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +15 -14
lines
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Thu Dec 4 19:38:23 2003 UTC (22 years, 11 months ago) by atatat
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +7 -10
lines
Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.
Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded. Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.
All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.
PS - I'm sorry, but there's a distinct lack of documentation at the
moment. I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
Revision 1.109.4.5: download - view: text, markup, annotated - select for diffs
Sun Oct 26 06:36:37 2003 UTC (23 years ago) by jmc
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002
Diff to: previous 1.109.4.4: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.4.4: +3 -3
lines
Pullup rev 1.119 (ticket #1428)
Implement MAP_TRYFIXED for linux emulation.
Revision 1.109.4.4: download - view: text, markup, annotated - select for diffs
Wed Oct 22 04:03:51 2003 UTC (23 years, 1 month ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.109.4.3: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.4.3: +57 -15
lines
Pullup rev 1.118 (via patch) (requested by tv in ticket #1427)
Proper support for mmap2
Revision 1.109.4.3: download - view: text, markup, annotated - select for diffs
Wed Oct 22 03:47:43 2003 UTC (23 years, 1 month ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.109.4.2: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.4.2: +6 -4
lines
Pullup rev 115 (requested by tv in ticket #1426)
Don't allow non-page-aligned offsets.
Revision 1.121.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:47 2003 UTC (23 years, 4 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +7 -7
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:30 2003 UTC (23 years, 4 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +5 -5
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:22 2003 UTC (23 years, 4 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +7 -7
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.119: download - view: text, markup, annotated - select for diffs
Mon Jun 23 21:32:36 2003 UTC (23 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -3
lines
PR/21948: Todd Vierling: Implement MAP_TRYFIXED for linux emulation.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Mon Jun 23 21:25:59 2003 UTC (23 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +57 -15
lines
PR/21937: Todd Vierling: Proper support for mmap2
Revision 1.117: download - view: text, markup, annotated - select for diffs
Wed Mar 5 18:44:46 2003 UTC (23 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +7 -53
lines
Use do_setresuid() to implement linux_sys_setresuid()
Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat Jan 18 08:02:53 2003 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +115 -97
lines
Merge the nathanw_sa branch.
Revision 1.83.2.21: download - view: text, markup, annotated - select for diffs
Thu Dec 19 00:42:53 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.83.2.20: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.2.20: +6 -4
lines
Sync with HEAD.
Revision 1.115.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 18 01:05:50 2002 UTC (23 years, 11 months ago) by gmcgarry
Branches: gmcgarry_ucred
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +26 -28
lines
Merge pcred and ucred, and poolify. TBD: check backward compatibility
and factor-out some higher-level functionality.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Mon Dec 16 19:37:03 2002 UTC (23 years, 11 months ago) by christos
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Branch point for: gmcgarry_ucred
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +6 -4
lines
Don't allow non-page-aligned offsets! So dumb. From Jason Ish, thanks.
Revision 1.109.4.2: download - view: text, markup, annotated - select for diffs
Thu Dec 12 21:29:13 2002 UTC (23 years, 11 months ago) by he
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Diff to: previous 1.109.4.1: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.4.1: +14 -11
lines
Pull up revision 1.112 (requested by jdolecek in ticket #987):
Correct linux_sys_times(): if tms is NULL, just return the
number of ticks since boot instead of returning error; this
matches what Linux does. Fixes PR#19027.
Revision 1.83.2.20: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:37:24 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.83.2.19: preferred, colored
Changes since revision 1.83.2.19: +17 -13
lines
Sync with HEAD.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Mon Nov 25 02:11:23 2002 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -3
lines
Add ULL to a 64-bit integer constant.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Nov 13 15:20:04 2002 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +5 -5
lines
we now export information about CLK_TCK via ELF aux args, no need to
hardcode '100' for times(2) anymore; use 'hz' instead
Revision 1.112: download - view: text, markup, annotated - select for diffs
Wed Nov 13 08:27:10 2002 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +14 -11
lines
linux_sys_times(): if tms is NULL, just return the number of ticks since
boot, don't error out; this matches what Linux does
Fixes problem reported in kern/19027
Revision 1.83.2.19: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:41:13 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.18: preferred, colored
Changes since revision 1.83.2.18: +1 -1
lines
Catch up to -current.
Revision 1.92.2.7: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:38:04 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.92.2.6: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.6: +3 -3
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.111: download - view: text, markup, annotated - select for diffs
Mon Sep 23 05:03:03 2002 UTC (24 years, 1 month ago) by simonb
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -3
lines
Put storage class first in "static const" declaration.
Revision 1.92.2.6: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:43:19 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.92.2.5: preferred, colored
Changes since revision 1.92.2.5: +3 -3
lines
sync kqueue branch with HEAD
Revision 1.83.2.18: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:17 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.17: preferred, colored
Changes since revision 1.83.2.17: +3 -3
lines
Catch up to -current.
Revision 1.109.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:34:56 2002 UTC (24 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109: +3 -3
lines
catch up with -current.
Revision 1.83.2.17: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:40:01 2002 UTC (24 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.16: preferred, colored
Changes since revision 1.83.2.16: +2 -3
lines
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.83.2.16: download - view: text, markup, annotated - select for diffs
Mon Jul 8 21:08:28 2002 UTC (24 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.15: preferred, colored
Changes since revision 1.83.2.15: +5 -4
lines
Whitespace.
Revision 1.92.2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:44:23 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.92.2.4: preferred, colored
Changes since revision 1.92.2.4: +90 -82
lines
catch up with -current on kqueue branch
Revision 1.109.4.1: download - view: text, markup, annotated - select for diffs
Fri Jun 21 05:25:39 2002 UTC (24 years, 5 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3
lines
Pull up revision 1.110 (requested by enami in ticket #331):
Don't copy from destination to destination.
[Fixes setrlimit in linux emulation]
Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Jun 20 04:01:43 2002 UTC (24 years, 5 months ago) by enami
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3
lines
Don't copy from destination to destination.
Revision 1.83.2.15: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:43:05 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.14: preferred, colored
Changes since revision 1.83.2.14: +3 -174
lines
Catch up to -current.
Revision 1.83.2.14: download - view: text, markup, annotated - select for diffs
Wed May 29 21:32:40 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.13: preferred, colored
Changes since revision 1.83.2.13: +3 -2
lines
#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.
(Behold the Power of Ed)
Revision 1.109: download - view: text, markup, annotated - select for diffs
Fri May 10 14:49:38 2002 UTC (24 years, 6 months ago) by tron
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3
lines
Fix off by one error in check for size of field "d_off" in Linux
"dirent" structure.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Fri May 10 14:38:08 2002 UTC (24 years, 6 months ago) by tron
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -172
lines
Move implementation of linux_sys_getdents64() to source file for
Linux 64bit filesystem calls.
Revision 1.83.2.13: download - view: text, markup, annotated - select for diffs
Wed Apr 17 02:01:20 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.12: preferred, colored
Changes since revision 1.83.2.12: +5 -4
lines
LWPify.
Revision 1.83.2.12: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:08 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.11: preferred, colored
Changes since revision 1.83.2.11: +180 -9
lines
Catch up to -current.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Wed Apr 10 18:19:34 2002 UTC (24 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +176 -6
lines
implement getdents64; my full java tree builds now.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Wed Apr 3 10:17:01 2002 UTC (24 years, 7 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +3 -3
lines
Allocate the right size for the native gid_t array in setgroups16.
Revision 1.83.2.11: download - view: text, markup, annotated - select for diffs
Mon Apr 1 22:14:39 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.10: preferred, colored
Changes since revision 1.83.2.10: +5 -5
lines
LWPify linux_sys_mprotect().
Revision 1.83.2.10: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:44:26 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.9: preferred, colored
Changes since revision 1.83.2.9: +82 -75
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.105: download - view: text, markup, annotated - select for diffs
Sun Mar 31 22:22:47 2002 UTC (24 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +5 -4
lines
make signal array handling uniform, and put signal arrays in a separate
file. This is simular to errno array handling.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Mar 22 17:14:18 2002 UTC (24 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +10 -6
lines
gc debugging printfs.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Fri Mar 22 15:21:28 2002 UTC (24 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +58 -55
lines
nuke mmap2, cleanup mmap, add mprotect
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sat Mar 16 20:43:53 2002 UTC (24 years, 8 months ago) by christos
Branches: MAIN
CVS tags: eeh-devprop-base,
eeh-devprop
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +18 -18
lines
make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *
in, instead of using curproc). While there add an optional size argument to
stackgap_init.
Revision 1.92.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:38 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.92.2.3: preferred, colored
Changes since revision 1.92.2.3: +202 -32
lines
Catch up with -current.
Revision 1.83.2.9: download - view: text, markup, annotated - select for diffs
Thu Feb 28 23:59:32 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.8: preferred, colored
Changes since revision 1.83.2.8: +13 -36
lines
LWPify linux_{set/get}rlimit(); move and LWPify linux_sysctl().
Revision 1.83.2.8: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:12:56 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.7: preferred, colored
Changes since revision 1.83.2.7: +202 -7
lines
Catch up to -current.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Wed Feb 20 17:03:03 2002 UTC (24 years, 9 months ago) by christos
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +48 -15
lines
proper statfs emulation...
Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon Feb 18 22:24:18 2002 UTC (24 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +5 -4
lines
Resolve alpha compile issues:
- bug with order in args in mask conversion md code.
- flags can be both int and long on the alpha. kludge around that, by not
passing pointers to the conversion function.
- something is wrong with the toolchain look at the void * cast in copyout().
- sa_restorer is in a different place on the aplha. Deal with that, by not
initializing it as before. XXX: this should be changed in the MD signal
definition.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Feb 18 18:51:51 2002 UTC (24 years, 9 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +12 -4
lines
Back off previous partially - make linux_release[] back 2.0.38
and linux_version[] "#0 Sun Apr 1 11:11:11 MET 2000";". Add a BIG
WARNING MESSAGE so that people won't break things changing this.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Feb 17 23:56:35 2002 UTC (24 years, 9 months ago) by rafal
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +5 -2
lines
There is no linux_sys_ugetrlimit on mips, so don't try building it (XXX: adds
icky ifdefs)
Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Feb 15 16:48:02 2002 UTC (24 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +154 -29
lines
- add a real linux_sys___sysctl because the mib numbers are different.
implement only the kernel version getting entries.
- make the signal conversion functions consistent; dest is arg 1.
- make linux_fakedev deal with block and char devices differently.
- add linux_sys_ugetrlimit, and flesh out the regular get/setrlimit so
that they work properly.
- add linux_mmap2 [untested].
- bump kernel to 2.4.18, and make the date be valentine's day :-)
- linux_sys_*stat64 family was totally busted. Fix it.
tested only on i386.
Status:
gdb, telnet, work
jdk-1.4.0 extractor works, jdk still coredumps.
christos
Revision 1.92.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:51:43 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.92.2.2: preferred, colored
Changes since revision 1.92.2.2: +5 -2
lines
Sync kqueue branch with -current.
Revision 1.83.2.7: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:29:05 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.6: preferred, colored
Changes since revision 1.83.2.6: +3 -3
lines
Catch up to -current.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Dec 9 03:07:43 2001 UTC (24 years, 11 months ago) by chs
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -3
lines
replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names.
Revision 1.83.2.6: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:13:11 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.5: preferred, colored
Changes since revision 1.83.2.5: +4 -1
lines
Catch up to -current.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Nov 13 02:08:54 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -1
lines
add RCSIDs (including regeneration of files as appropriate)
Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:43:47 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +3 -3
lines
Catch up with -current.
Revision 1.83.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:19 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.4: preferred, colored
Changes since revision 1.83.2.4: +3 -3
lines
Catch up to -current.
Revision 1.92.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:24 2001 UTC (25 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.92.2.1: preferred, colored
Changes since revision 1.92.2.1: +3 -3
lines
Update the kqueue branch to HEAD.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sat Sep 8 07:09:44 2001 UTC (25 years, 2 months ago) by manu
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
pre-chs-ubcperf,
post-chs-ubcperf
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -3
lines
Removed a hack to make PowerPC mmap work. This could have side effects on
alpha and i386. It has been tested and works on i386.
Revision 1.83.2.4: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:08:49 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.3: preferred, colored
Changes since revision 1.83.2.3: +5 -2
lines
Catch up with -current.
Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:12:44 2001 UTC (25 years, 3 months ago) by lukem
Branches: kqueue
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +5 -2
lines
update to -current
Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Jul 18 19:11:14 2001 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +5 -2
lines
Add support for the __WALL wait4(2) flag.
Revision 1.83.2.3: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:59:53 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.2: preferred, colored
Changes since revision 1.83.2.2: +20 -10
lines
Catch up to -current.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Jun 4 07:44:39 2001 UTC (25 years, 5 months ago) by manu
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +13 -16
lines
Fixes by Chuck Silvers to make ptrace PEEKTEXT more 64 bit friendy
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Jun 3 18:22:27 2001 UTC (25 years, 5 months ago) by manu
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2
lines
added a double cast to build on alpha
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:46:09 2001 UTC (25 years, 5 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +4 -4
lines
Slighly improve the PTRACE_CONT comment
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun May 27 21:17:16 2001 UTC (25 years, 5 months ago) by manu
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +16 -2
lines
Fixed the return value of ptrace for PEEKTEXT and PEEKDATA: return value must
be a pointer to data, which holds the result. Linux's glibc undo this odd
operation to bring the standard ptrace behavior to userland.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Sun May 20 09:29:10 2001 UTC (25 years, 6 months ago) by manu
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -2
lines
Added powerpc status in a comment
Revision 1.69.4.3: download - view: text, markup, annotated - select for diffs
Tue May 1 08:53:53 2001 UTC (25 years, 6 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.69.4.2: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.4.2: +15 -1
lines
Pull up revision 1.87 (via patch, requested by jdolecek):
Make it possible to use a different function for unimplemented
syscalls than sys_nosys(), so that the Linux emulation can avoid
posting SIGSYS and instead just return ENOSYS.
Revision 1.61.2.6: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:46:19 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.61.2.5: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.5: +15 -1
lines
Sync with HEAD
Revision 1.83.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:55:42 2001 UTC (25 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83.2.1: preferred, colored
Changes since revision 1.83.2.1: +20 -11
lines
Catch up with -current.
Revision 1.69.4.2: download - view: text, markup, annotated - select for diffs
Fri Mar 30 21:41:32 2001 UTC (25 years, 7 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.69.4.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.4.1: +8 -17
lines
Pull up revisions 1.82-1.83 (requested by fvdl):
Add some required Linux emulation bits to support the Linux
version of VMware.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Mar 30 17:16:34 2001 UTC (25 years, 7 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +15 -1
lines
Implement linux_sys_nosys() and use it instead of sys_nosys() for
unimplemented syscalls. Difference is that linux_sys_nosys() doesn't
post SIGSYS to the process. Linux doesn't do that and thus glibc (and
probably other Linux code) doesn't deal with SIGSYS, even through it
generally contains fallback code for ENOSYS case.
This also addresses port-i386/12503, though the issue was already discussed
earlier.
Revision 1.61.2.5: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:31:47 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.61.2.4: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.4: +8 -12
lines
Sync with HEAD.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Mar 16 07:46:57 2001 UTC (25 years, 8 months ago) by manu
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +1 -4
lines
Removed an unused oldbrk variable in linux_sys_brk()
Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Mar 15 23:23:26 2001 UTC (25 years, 8 months ago) by manu
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +8 -9
lines
Made linux_sys_brk() cleaner (no functionnality change)
Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Mar 15 19:18:20 2001 UTC (25 years, 8 months ago) by manu
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +10 -10
lines
Fixed brk() emulation. We now keep track of the processes' idea of the
break value. See http://mail-index.netbsd.org/tech-kern/2001/03/15/0000.html
for more details.
Revision 1.83.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:25 2001 UTC (25 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +102 -85
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.61.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:26 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.61.2.3: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.3: +198 -21
lines
Sync with HEAD
Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Jan 5 15:31:15 2001 UTC (25 years, 10 months ago) by fvdl
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -2
lines
Set Linux version to 2.0.38 for now, until the clone + "real time signal"
problems are fixed.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Dec 29 21:07:16 2000 UTC (25 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +8 -17
lines
Hardcode what the linux uname() calls return (Linux 2.2.5 is the current
value). A few major applications check for this (like VMware), and
there is no other way to trick them. Needs a more generic solution
eventually.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Dec 27 22:01:43 2000 UTC (25 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +148 -59
lines
Use CHECK_ALT_* for chown and lchown, missed in my previous commit.
Get *id16 calls right; most can be passed through directly, but
some need the 16->32 check for -1 values.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Dec 22 22:58:58 2000 UTC (25 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -2
lines
split off thread specific stuff from struct sigacts to struct sigctx, leaving
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx
This addresses kern/10981 by Matthew Orgass.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Thu Dec 21 20:19:22 2000 UTC (25 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +5 -1
lines
Only include the 16-bit uid/gid stuff if on i386 or m68k. This is a
little ugly, but hey, so is Linux.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Dec 18 14:40:03 2000 UTC (25 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +61 -5
lines
Add seperate entries for 16 bit uid/gid calls, so that border cases
like 0xffff can be handled better (not done yet).
Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Dec 13 21:41:23 2000 UTC (25 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +38 -1
lines
Implement sysinfo.
Revision 1.61.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:08:29 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.61.2.2: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.2: +66 -1
lines
Sync with HEAD.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Dec 2 16:43:51 2000 UTC (25 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +20 -1
lines
add emulation of linux swapoff(2)
Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Dec 1 21:14:42 2000 UTC (25 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +47 -1
lines
implement linux_sys_setdomainname()/linux_sys_swapon(), using code
from compat_09_sys_setdomainname()/compat_12_sys_swapon().
Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Dec 1 12:28:33 2000 UTC (25 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2
lines
add e_path (emulation path) to struct emul, which replaces emulation-specific
*_emul_path variables
change macros CHECK_ALT_{CREAT|EXIST} to use that, 'root' doesn't need
to be passed explicitly any more and *_CHECK_ALT_{CREAT|EXIST} are removed
change explicit emul_find() calls in probe functions to get the emulation
path from the checked exec switch entry's emulation
remove no longer needed header files
add e_flags and e_syscall to struct emul; these are unsed and empty for now
Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:02:45 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.1: +19 -4
lines
Sync with HEAD.
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:08:23 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +142 -9
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Nov 1 20:56:30 2000 UTC (26 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +19 -4
lines
Linux LINUX_PTRACE_SINGLESTEP operation should have same
semantics as NetBSD's PT_STEP, so support it on archs which have it
under Linux, ptrace(PTRACE_CONT, pid, 0, 0) is used to continue the
traced process where it left off; adjust addr to (caddr_t) 1 so that
the NetBSD syscall code DTRT
some sligh const poisoning
Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 11 19:25:35 2000 UTC (26 years, 2 months ago) by fvdl
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -2
lines
Pull up revision 1.72:
In the case of MAP_ANON, Linux mmap ignores the fd argument completely.
So, always pass -1 to the native syscall in that case, to avoid
errors if a Linux app doesn't specify -1 as the fd (which some do).
approved by thorpej
Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Sep 7 22:20:45 2000 UTC (26 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2
lines
In the case of MAP_ANON, Linux mmap ignores the fd argument completely.
So, always pass -1 to the native syscall in that case, to avoid
errors if a Linux app doesn't specify -1 as the fd (which some do).
Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 15 21:33:15 2000 UTC (26 years, 3 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +32 -1
lines
Pull up revision 1.63 (requested by abs):
Enable basic versions of Linux fsuid calls.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Jun 29 02:40:39 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +1 -3
lines
remove include of <vm/vm.h>
Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:38:57 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +1 -2
lines
remove redundant vm includes.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Mar 30 11:27:17 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -2
lines
Kill register declarations.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue Mar 28 23:57:33 2000 UTC (26 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +1 -4
lines
Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).
Also delete redunctant decl of boottime in kern_info_43.c.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Mar 18 22:23:13 2000 UTC (26 years, 8 months ago) by erh
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +55 -1
lines
Add linux_sys_reboot.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Mar 18 20:42:14 2000 UTC (26 years, 8 months ago) by erh
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +14 -9
lines
Adjust linux_sys_ptrace_args to reflect inconsistencies across ports. Temporarily ifndef alpha around getfsuid since Linux/alpha doesn't seem to have it.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Mar 13 23:52:35 2000 UTC (26 years, 8 months ago) by soren
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2
lines
Fix doubled 'the's in comments.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Feb 17 12:34:26 2000 UTC (26 years, 9 months ago) by abs
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -4
lines
Update patch from Witold Wnuk in PR 9335 to solve potential security
issue noted by tls.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Feb 3 10:03:01 2000 UTC (26 years, 9 months ago) by abs
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +32 -1
lines
Add Linux fsuid system calls - from Witold J. Wnuk in PR kern/9335
Revision 1.61.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:27 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +50 -1
lines
Pull up to last week's -current.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Dec 16 15:09:49 1999 UTC (26 years, 11 months ago) by tron
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +50 -1
lines
Move MI parts of ptrace(2) emulation to "linux_misc.c".
Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Oct 5 09:22:04 1999 UTC (27 years, 1 month ago) by tron
Branches: MAIN
CVS tags: fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: wrstuden-devbsize,
thorpej_scsipi
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -2
lines
After linux_sys_clone() has been moved to "linux_sched.c" we don't need
to include "linux_sched.h" any more.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Oct 4 16:55:56 1999 UTC (27 years, 1 month ago) by tron
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +1 -46
lines
Add emulation for scheduler related syscalls. Although they are dummies
even under Linux the posix thread library for "glibc2" requires them.
Revision 1.53.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:52:20 1999 UTC (27 years, 3 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.53.4.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.4.1: +1 -5
lines
Update from trunk.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Jul 15 23:18:41 1999 UTC (27 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -5
lines
A few things to make the Linux clone(2) emulation work a bit better:
- When the exit signal is specified to be 0, don't just assume they
meant SIGCHLD. In the Linux world, this appears to mean "don't deliver
an exit signal at all".
- Simplify P_EXITSIG(); don't check against initproc here, just change
the exit signal to SIGCHLD if reparenting to initproc.
A very simple clone(2) test program now works, and the MpegTV package
starts, but doesn't run properly yet (I believe there is a separate
bug which keeps it from working properly).
Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:07:37 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +185 -10
lines
Sync w/ -current.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon May 17 19:26:33 1999 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +8 -1
lines
Oops, completely forgot to translate the exit signal in clone(2).
Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri May 14 18:44:50 1999 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +105 -1
lines
Emulate the Linux {get,set}resuid(2) system calls.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu May 13 23:42:34 1999 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +47 -3
lines
Emulate the Linux clone(2) system call.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu May 13 01:00:50 1999 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +16 -3
lines
Fully emulate the Linux wait4(2) system call, including the __WCLONE
flag (which is equivalent to our new WALTSIG).
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed May 5 20:01:03 1999 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +13 -6
lines
Add "use counting" to file entries. When closing a file, and it's reference
count is 0, wait for use count to drain before finishing the close.
This is necessary in order for multiple processes to safely share file
descriptor tables.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Feb 9 20:37:19 1999 UTC (27 years, 9 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: netbsd-1-4,
chs-ubc2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2
lines
const poisoning.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Dec 16 10:21:50 1998 UTC (27 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +15 -10
lines
more defensive signal conversion, and fix a malloc sizeof(int) to sizeof(int *).
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Oct 4 10:17:54 1998 UTC (28 years, 1 month ago) by fvdl
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -4
lines
Fix pointer fuckup that made getdents() stop working.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Oct 4 00:02:36 1998 UTC (28 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -34
lines
Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Oct 3 20:17:42 1998 UTC (28 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +11 -8
lines
Attempt to fix the mess.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Oct 1 18:53:37 1998 UTC (28 years, 1 month ago) by perry
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -3
lines
Add braces to shut up egcs
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Oct 1 04:05:55 1998 UTC (28 years, 1 month ago) by erh
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +91 -394
lines
Wheeee!: 8-way split of compat/linux/linux_misc.c into common code and multi-architechture functions.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Sep 11 12:50:08 1998 UTC (28 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +5 -5
lines
Substantial signal handling changes:
* Increase the size of sigset_t to accomodate 128 signals -- adding new
versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
sys_sigpending() and sys_sigsuspend() into separate functions, and call them
from all the emulations rather than hard-coding everything. (Avoids uses
the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.
Note: Only code touched by the i386 port has been modified. Other ports and
emulations need to be updated.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Sep 8 20:02:52 1998 UTC (28 years, 2 months ago) by rvb
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -1
lines
ufs_readdir no longer checks if vp->v_type != VDIR so
the individual emulated readdirs must check.
Since netbsd and freebsd return EINVAL for the error
and I don't know what the other platforms do, return
EINVAL for them too.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Aug 18 18:30:08 1998 UTC (28 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +13 -7
lines
Add some braces to make egcs happy.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Jul 7 00:40:27 1998 UTC (28 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2
lines
Oops, fix typo, pointed out by Urban Boquist <boquist@cs.chalmers.se>.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Jul 2 23:26:58 1998 UTC (28 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +38 -4
lines
Implement the shrinking and no-change bits of the Linux mremap(2) system
call, provided by Urban Boquist <boquist@cs.chalmers.se> in PR #5693.
Add a comment about how one might implement the growing bit of mremap(2).
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Fri May 8 08:43:58 1998 UTC (28 years, 6 months ago) by mycroft
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +2 -2
lines
Pull up 1.41, per request of mycroft.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Mar 24 09:47:30 1998 UTC (28 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2
lines
Fix typo in utime().
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Mar 3 13:44:48 1998 UTC (28 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -3
lines
Only free cookiebuf when sure that the vop actually allocated it.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:23:03 1998 UTC (28 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -10
lines
Merge with Lite2 + local changes
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Feb 20 18:09:04 1998 UTC (28 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -34
lines
Linux's getsid(2) does in fact return a pid, not a pointer.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Feb 14 01:28:15 1998 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +10 -4
lines
Add a comment clearly describing that Linux's getsid(2) differs from
the XPG4.2 definition in that it returns the kernel virtual address
of the session structure, rather than the process group ID of the
session leader.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Oct 21 00:57:38 1997 UTC (29 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -3
lines
msync -> __msync13
Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:21:35 1997 UTC (29 years, 1 month ago) by thorpej
Diff to: previous 1.31.2.1: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.1: +28 -2
lines
Update marc-pcmcia branch from trunk.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:16:10 1997 UTC (29 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2
lines
Fix braino in my interpretation of the eof flag to VOP_READDIR.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Oct 10 06:25:34 1997 UTC (29 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +19 -1
lines
Emulate mremap(2) by returning ENOMEM for now. This should be sufficient for
realloc(3) and other uses. From Matthias Scheler in PR 3920.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Oct 10 01:44:01 1997 UTC (29 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +11 -3
lines
Signal error when getting a 64 bit offset cookie that can't be stored
in 32 bits. Provide an error message to the user, and return EINVAL.
Also, pay attention to the EOF flag from VOP_READDIR. Correct a
misspell in a panic message.
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 23 07:12:30 1997 UTC (29 years, 3 months ago) by thorpej
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -2
lines
Update marc-pcmcia branch from trunk.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Aug 4 09:48:08 1997 UTC (29 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -2
lines
Fix "missing entries" bug when reading large directories: When reading a
directory and running out of space in the dest buffer, off should point to the
current entry (which was not saved) and not to the next.
I discovered this bug using linux and SunOS emulation over NFS, but seems to
affect other emulations as well.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Jul 27 01:16:39 1997 UTC (29 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -1
lines
Changes to the sudio system:
- It is now possible to handle devices that want "looping" DMA,
e.g. the SoundBlaster correctly. The WSS and SB drivers use this.
To do this several new methods were introduced in audio_hw_if.
- Different silence handling (forced by previous change).
- The audio driver can now be mmap()-ed, but due to problems in
the VM system only for writing for now.
- The OSS (Linux) audio emulation takes advantage of some of the
new features.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Apr 7 14:13:16 1997 UTC (29 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +18 -1
lines
Add Linux nice() syscall.
Revision 1.27.4.2: download - view: text, markup, annotated - select for diffs
Tue Dec 10 08:24:49 1996 UTC (29 years, 11 months ago) by mycroft
Diff to: previous 1.27.4.1: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.4.1: +2 -2
lines
From trunk:
sys/dir.h -> sys/dirent.h
Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 10 08:09:37 1996 UTC (29 years, 11 months ago) by mycroft
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -5
lines
From trunk:
Implement setre[ug]id() for real.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Aug 10 09:09:25 1996 UTC (30 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
sys/dir.h -> sys/dirent.h
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jun 23 11:13:32 1996 UTC (30 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -5
lines
Catch up with setre[ug]id() changes.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon May 20 01:59:21 1996 UTC (30 years, 6 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +53 -1
lines
Update list of Linux syscalls and implement the ones that are likely to be
used and doable.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Apr 4 23:56:01 1996 UTC (30 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +17 -9
lines
- Prototyping changes
- Fix bug that gcc -Wall found in linux_sys_getpgid()
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Apr 3 09:02:40 1996 UTC (30 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -3
lines
Add explicit return types.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 18 14:35:08 1995 UTC (30 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +22 -1
lines
msync, readv and writev were recently added to the Linux kernel; add them
to the emulation as well.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Dec 9 04:01:42 1995 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -22
lines
We don't need a private version of fork() here any more.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Oct 9 11:24:05 1995 UTC (31 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +20 -7
lines
Use cookies for directory offset, mostly from Greg Hudson.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Oct 7 06:27:10 1995 UTC (31 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +89 -89
lines
Prefix names of system call implementation functions with `sys_'.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Sep 19 22:37:33 1995 UTC (31 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +120 -93
lines
Make system calls conform to a standard prototype and bring those
prototypes into scope.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Sep 13 21:51:14 1995 UTC (31 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -4
lines
Update offset elsewhere in linux_getdents(); still emulate a bug in
Linux, but avoid endless loops.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Sep 7 21:49:01 1995 UTC (31 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +47 -2
lines
Fix some bugs & typing problems.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Aug 23 20:17:28 1995 UTC (31 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +100 -29
lines
Emulate some syscalls that appear in Linux 1.3: a select() with normal args,
getdents() and flock().
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Aug 21 23:15:51 1995 UTC (31 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +27 -13
lines
Check for status NULL argument in wait4 and waitpid. From PR #1392
by Thomas EberHardt.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Aug 21 03:42:09 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +75 -13
lines
Implement the old and older uname(2) calls.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Aug 16 04:50:17 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -6
lines
If updating the timeval would make it negative, zero it instead.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Aug 16 04:29:49 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +30 -10
lines
Allow bogus timevals, per Linux.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Aug 14 02:58:29 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
Export bsd_to_linux_sig[], and use it.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Aug 14 01:27:53 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1
lines
Rearrange #includes.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Aug 13 17:51:40 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -2
lines
Linux doesn't allow select(2) to be restarted.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jun 24 20:20:26 1995 UTC (31 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +9 -10
lines
Use compat_util.[ch].
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jun 22 21:34:38 1995 UTC (31 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -0
lines
* Changed to use generic ELF code from kern/exec_elf.c (which was taken
from the svr4 exec code plus the linux compat mods)
* Include file change
* Add multicast sockopts (from John Brezak)
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jun 11 21:51:38 1995 UTC (31 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +38 -4
lines
Linux select() returns the amount of time left before a timeout would have
occured in the timeval structure. Emulate this behavior. Reported by
Theo de Raadt.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 11 14:56:59 1995 UTC (31 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +21 -1
lines
* Make Linux ELF binaries work. Lots of code duplication, but it will have to do
for now.
* Add a sanity check in linux_uselib
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jun 10 22:19:14 1995 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +13 -13
lines
Rename the dirent fields to match Linux. Make sure the requested buffer
is no larger than MAXBSIZE.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Mar 22 05:24:47 1995 UTC (31 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -3
lines
Emulate the return value of times() better.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Mar 21 13:34:30 1995 UTC (31 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
Update to use timer{add,sub}().
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 5 23:23:41 1995 UTC (31 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +71 -8
lines
Added a few more system calls.
More consistent alternate root file semantics throughout.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 28 23:25:07 1995 UTC (31 years, 8 months ago) by fvdl
Branches: MAIN
Added Linux compat code.
CVSweb <webmaster@jp.NetBSD.org>