History log of /netbsd-src/sys/compat/linux/common/linux_break.c (Results 1 – 25 of 57)
Revision Date Author Comments
# abbc8a65 23-Sep-2021 ryo <ryo@NetBSD.org>

add support COMPAT_LINUX for aarch64


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# 7e2790cf 20-Dec-2007 dsl <dsl@NetBSD.org>

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

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.

show more ...


# b07ec3fc 09-Feb-2007 ad <ad@NetBSD.org>

Merge newlock2 to head.


# 168cd830 16-Nov-2006 christos <christos@NetBSD.org>

__unused removal on arguments; approved by core.


# 4d595fd7 12-Oct-2006 christos <christos@NetBSD.org>

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386


# 46141a31 18-Jan-2003 thorpej <thorpej@NetBSD.org>

Merge the nathanw_sa branch.


# dab6ef8b 13-Nov-2001 lukem <lukem@NetBSD.org>

add RCSIDs (including regeneration of files as appropriate)


# 8096c25a 04-Oct-1998 fvdl <fvdl@NetBSD.org>

Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.


# 908291d2 03-Oct-1998 christos <christos@NetBSD.org>

Attempt to fix the mess.


# d70c9cdb 01-Oct-1998 erh <erh@NetBSD.org>

Wheeee!: 8-way split of compat/linux/linux_misc.c into common code and multi-architechture functions.


# fb526e05 11-Sep-1998 mycroft <mycroft@NetBSD.org>

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

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.

show more ...


# 26b955ee 08-Sep-1998 rvb <rvb@NetBSD.org>

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, r

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.

show more ...


# ff266f09 18-Aug-1998 thorpej <thorpej@NetBSD.org>

Add some braces to make egcs happy.


# 35bb79bc 07-Jul-1998 thorpej <thorpej@NetBSD.org>

Oops, fix typo, pointed out by Urban Boquist <boquist@cs.chalmers.se>.


# 33f066d2 02-Jul-1998 thorpej <thorpej@NetBSD.org>

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

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

show more ...


# 487d1fa0 24-Mar-1998 mycroft <mycroft@NetBSD.org>

Fix typo in utime().


# a377495c 03-Mar-1998 fvdl <fvdl@NetBSD.org>

Only free cookiebuf when sure that the vop actually allocated it.


# e5bc90f4 01-Mar-1998 fvdl <fvdl@NetBSD.org>

Merge with Lite2 + local changes


# 26c238db 20-Feb-1998 mycroft <mycroft@NetBSD.org>

Linux's getsid(2) does in fact return a pid, not a pointer.


# 821a4fec 14-Feb-1998 thorpej <thorpej@NetBSD.org>

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

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.

show more ...


# af221f1c 21-Oct-1997 fvdl <fvdl@NetBSD.org>

msync -> __msync13


# d85f38cb 10-Oct-1997 fvdl <fvdl@NetBSD.org>

Fix braino in my interpretation of the eof flag to VOP_READDIR.


# 523d8477 10-Oct-1997 mycroft <mycroft@NetBSD.org>

Emulate mremap(2) by returning ENOMEM for now. This should be sufficient for
realloc(3) and other uses. From Matthias Scheler in PR 3920.


# d6e5e295 10-Oct-1997 fvdl <fvdl@NetBSD.org>

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. Correc

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.

show more ...


123