| #
836f4a42 |
| 26-Nov-2021 |
ryo <ryo@NetBSD.org> |
The internal architecture name of golang is "arm" or "arm64", which has different naming conventions from netbsd's machine[] or machine_arch[] ("earmv7", "aarch64", etc.) and cannot be used as is. In
The internal architecture name of golang is "arm" or "arm64", which has different naming conventions from netbsd's machine[] or machine_arch[] ("earmv7", "aarch64", etc.) and cannot be used as is. Instead, use define LINUX_GO_RT0_SIGNATURE_ARCH{32,64}.
show more ...
|
| #
bbb9625b |
| 26-Nov-2021 |
ryo <ryo@NetBSD.org> |
- LINUX_GO_RT0_SIGNATURE for compat_linux is no longer enabled by default. it is now defined in each arch same as the other *_SIGNATURE definitions. - add new LINUX32_GO_RT0_SIGNATURE for compat_li
- LINUX_GO_RT0_SIGNATURE for compat_linux is no longer enabled by default. it is now defined in each arch same as the other *_SIGNATURE definitions. - add new LINUX32_GO_RT0_SIGNATURE for compat_linux32, and is defined in amd64 and aarch64.
show more ...
|
| #
f1ecb271 |
| 12-Jan-2020 |
ad <ad@NetBSD.org> |
Tidy up the vnode locking around execve() on ELF images to acquire and release the locks fewer times. Proposed on tech-kern a very long time go.
|
| #
8c2f80f1 |
| 01-Mar-2019 |
pgoyette <pgoyette@NetBSD.org> |
Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly discussed on irc.
NFCI intended.
Ride the earlier kernel bump - it;s getting crowded.
|
| #
d91f98a8 |
| 27-Jan-2019 |
pgoyette <pgoyette@NetBSD.org> |
Merge the [pgoyette-compat] branch
|
| #
a03af6c5 |
| 15-Jul-2018 |
christos <christos@NetBSD.org> |
- fix constants and explain limit - use machine32 instead of hard-coded x86 stuff
|
| #
9ab53722 |
| 09-Jul-2018 |
msaitoh <msaitoh@NetBSD.org> |
Fix compile error.
|
| #
8be2e96d |
| 08-Jul-2018 |
christos <christos@NetBSD.org> |
Enable executing linux go binaries by using a special probe function for them.
|
| #
a2ad93de |
| 06-Feb-2017 |
uwe <uwe@NetBSD.org> |
Use ELFOSABI_LINUX instead of a magic number.
|
| #
d99aa73f |
| 11-Jun-2015 |
matt <matt@NetBSD.org> |
Force *stackp to (uintptr_t) before possibly moving to a smaller pointer size.
|
| #
06b89b30 |
| 20-Mar-2015 |
maxv <maxv@NetBSD.org> |
Zero-fill the ELF auxiliary vectors. Otherwise, on 64bit systems, the padding between a_v and a_type contains kernel garbage, therefore exposed to userland.
Original report by uebayasi@
|
| #
c1cf2f47 |
| 15-Apr-2014 |
maxv <maxv@NetBSD.org> |
A specially-crafted binary could easily control a kernel array index. Add some checks to ensure that nothing will be read outside the allocated area. Rewrite the code so that we don't need to allocat
A specially-crafted binary could easily control a kernel array index. Add some checks to ensure that nothing will be read outside the allocated area. Rewrite the code so that we don't need to allocate the whole section.
Spotted by several developers, patch from chs@/enami@
show more ...
|
| #
6e5d6d35 |
| 23-Feb-2014 |
njoly <njoly@NetBSD.org> |
Fix wrong KASSERTs. Do not compare size vs. entries count.
|
| #
c23f9377 |
| 21-Feb-2014 |
maxv <maxv@NetBSD.org> |
Increase LINUX32_ELF_AUX_ENTRIES to avoid overrun in linux32/. Also, add comments and KASSERTs to make sure people don't forget to increase XX_AUX_ENTRIES's when adding vectors.
Reported by martin@
Increase LINUX32_ELF_AUX_ENTRIES to avoid overrun in linux32/. Also, add comments and KASSERTs to make sure people don't forget to increase XX_AUX_ENTRIES's when adding vectors.
Reported by martin@ (CV), with suggestions from chs@.
ok martin@ chs@
show more ...
|
| #
e5a75de9 |
| 09-Feb-2014 |
chs <chs@NetBSD.org> |
account for the 16 bytes of AT_RANDOM data in the stack setup. fixes PR 48518. use cprng_strong32() instead of random(). add AT_RANDOM support for linux32.
|
| #
2084516c |
| 18-Nov-2013 |
chs <chs@NetBSD.org> |
implement AT_RANDOM.
|
| #
1d7f24ea |
| 12-Feb-2012 |
matt <matt@NetBSD.org> |
Change old-style function defintions to C89 prototypes.
Approved by releng.
|
| #
2210079e |
| 03-Feb-2012 |
matt <matt@NetBSD.org> |
Add a hook for freeing an ep_emul_arg. Add a wrapper routine (exec_free_emul_arg) to call the hook and then clear the ep_emul_arg and ep_emul_arg_free members in the exec_package. Change users/acces
Add a hook for freeing an ep_emul_arg. Add a wrapper routine (exec_free_emul_arg) to call the hook and then clear the ep_emul_arg and ep_emul_arg_free members in the exec_package. Change users/accessors to use these routines. Approved by releng.
show more ...
|
| #
590b9069 |
| 11-Sep-2010 |
chs <chs@NetBSD.org> |
always supply an auxiliary vector for linux ELF processes. static executables (such as newer versions of /sbin/ldconfig) require this to work properly. since static executables also don't have a PT_
always supply an auxiliary vector for linux ELF processes. static executables (such as newer versions of /sbin/ldconfig) require this to work properly. since static executables also don't have a PT_PHDR entry, use the same heuristic as linux does to provide a value for AT_PHDR in this case.
show more ...
|
| #
9fca5da6 |
| 15-Mar-2009 |
cegger <cegger@NetBSD.org> |
ansify function definitions
|
| #
1ab7ca8f |
| 20-Nov-2008 |
ad <ad@NetBSD.org> |
PR port-amd64/39964 modules/compat_linux: missing symbols on amd64
|
| #
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
| #
a2a38285 |
| 19-Oct-2007 |
ad <ad@NetBSD.org> |
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
| #
b8fbaf8c |
| 22-Apr-2007 |
dsl <dsl@NetBSD.org> |
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 nam
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.
show more ...
|
| #
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|