Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-29 | Remove COMPAT_HPUX. No one wanted to support it and its fewmets were | Philip Guenthe | |
blocking other cleanups ok miod@ | |||
2010-06-26 | Don't #include <sys/user.h> into files that don't need the stuff | Philip Guenthe | |
it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@ | |||
2010-01-28 | regen | Miod Vallat | |
2010-01-28 | HP-UX getpgrp2() is documented as returning the same value than getpgid(), | Miod Vallat | |
with the same error conditions. So reimplement it as the real thing. ok guenther@ | |||
2010-01-28 | Make sure the process tree is is loop-free by forbidding ptrace() | Philip Guenthe | |
of a direct ancestor, closing a localhost DoS. As an exception, do permit ptrace() of pid 1 and have inferiors() stop climbing if it hits that. ok tedu@ hpux_compat suggestion from miod@ | |||
2009-12-09 | Add entries in compat signal mapping arrays for SIGTHR. | Jonathan Gray | |
Prompted by parfait noticing overflows in ibcs2/svr4 which are now changed to being NSIG sized like the others as suggested by tedu. ok tedu@ miod@ guenther@ | |||
2009-03-05 | Make ELF platforms generate ELF core dumps. Somewhat based on code from | Mark Kettenis | |
NetBSD. ok kurt@, drahn@, miod@ | |||
2008-11-01 | change all callers of enterpgrp() to pre-allocate a pgrp or session if | Theo de Raadt | |
it might be needed later -- before calling pfind(), so that enterpgrp() can operate without sleeping ok tedu | |||
2008-09-19 | Fix a bunch of problems and races with posix file locking. | Artur Grabowski | |
- file descriptor table becomes the owner of the lock instead of the proc. - When grabbing the lock, we check if the fd hasn't changed under our feet, this is more or less impossible to solve without a hack like this. I've banged my head against the wall, I figured out a solution, but implementing it correctly would cost me 12 gray hairs. Screw it, this is ugly, but it works. - Wait until usecount drains before releasing the posix lock in closef. - Add missing FREF/FRELE to sys_flock - keep the pid in the flock struct instead of abusing the fact that we used to use the proc as the lock owner. Pointed out by and discussed with Al Viro, big thanks. miod@ ok | |||
2008-05-01 | spl0() is not your friend, use splx() instead. | Miod Vallat | |
2007-11-27 | Missed those because they are in a weird place. | Artur Grabowski | |
2007-11-02 | replace ctob/btoc with ptoa/atop (plus the usual round_page() where needed) | Martin Reindl | |
2007-10-20 | enuf -> enough | Miod Vallat | |
2007-09-22 | replace even more ctob and btoc with ptoa and atop respectively plus | Martin Reindl | |
uvm_extern.h where needed | |||
2007-03-15 | Since p_flag is often manipulated in interrupts and without biglock | Artur Grabowski | |
it's a good idea to use atomic.h operations on it. This mechanic change updates all bit operations on p_flag to atomic_{set,clear}bits_int. Only exception is that P_OWEUPC is set by MI code before calling need_proftick and it's automatically cleared by ADDUPC. There's no reason for MD handling of that flag since everyone handles it the same way. kettenis@ ok | |||
2006-09-25 | Use S_IS* macros insted of masking with S_IF* flags. The latter may | Otto Moerbeek | |
have multiple bits set, which lead to surprising results. Spotted by from Paul Stoeber, more to come. ok miod@ | |||
2005-12-30 | Missing or incorrect header sizes bounds check; ``looks ok'' mickey@ | Miod Vallat | |
2005-03-12 | use own hpux_sigcode | Michael Shalayeff | |
2005-02-15 | Fix HPUX fcntl() F_GETLK compatibility. Broken since r1.10 by FREF/FRELE | Aaron Campbell | |
fixes. deraadt@ ok | |||
2004-09-28 | This compiles better with the correct contents. | Miod Vallat | |
2004-09-19 | regen | Michael Shalayeff | |
2004-09-19 | proper sigsetreturn() args | Michael Shalayeff | |
2004-09-19 | another long that is really u_int | Michael Shalayeff | |
2004-09-19 | const this speedtab too | Michael Shalayeff | |
2004-09-19 | ressurect hpux_sig.c and implement just the different parts in arch/hpux_sig2.c | Michael Shalayeff | |
2004-07-15 | regen | Michael Shalayeff | |
2004-07-15 | +setdomain,getdirentries | Michael Shalayeff | |
2004-07-14 | regen | Michael Shalayeff | |
2004-07-14 | +set/getpriority | Michael Shalayeff | |
2004-07-13 | regen | Michael Shalayeff | |
2004-07-13 | +madvise,msync,mlock,munlock,mlockall,munlockall | Michael Shalayeff | |
2004-07-13 | regen | Michael Shalayeff | |
2004-07-13 | +getdomainname | Michael Shalayeff | |
2004-07-11 | typedef hpux_stack_t kinda like stack_t | Michael Shalayeff | |
2004-07-11 | get rid of [u]longs in hpux_stat that are really [u]ints and define stat64 ↵ | Michael Shalayeff | |
struct w/ [u]quad ino_t time_t and off_t; millert@ ok | |||
2004-07-11 | move struct hpux_sigaltstack out into .h file as i just figured out it is ↵ | Michael Shalayeff | |
needed elsewhere too | |||
2004-07-11 | regen | Michael Shalayeff | |
2004-07-11 | sigaltstack wrapper | Michael Shalayeff | |
2004-07-10 | regen | Michael Shalayeff | |
2004-07-10 | enable stty/gtty on hppa as well | Michael Shalayeff | |
2004-07-10 | add back in piece required for m68k | Theo de Raadt | |
2004-07-09 | regen | Michael Shalayeff | |
2004-07-09 | feh. hppa part. some unfinished and untested | Michael Shalayeff | |
2004-07-09 | regen | Michael Shalayeff | |
2004-07-09 | split off the m68k-specific parts | Michael Shalayeff | |
2004-07-01 | add HPUX_SYSCONF_CPUPA20 | Michael Shalayeff | |
2004-06-30 | regen | Michael Shalayeff | |
2004-06-30 | update from netbsd: use sys_poll() and label some other unimplemented ones; ↵ | Michael Shalayeff | |
millert@ ok | |||
2004-06-24 | This moves access to wall and uptime variables in MI code, | Thorsten Lockert | |
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@ | |||
2004-06-22 | Replace a whole bunch of scary uses of strncpy() with strlcpy() and | Jean-Francois Brousseau | |
use compat-specific MAXNAMLEN values where appropriate ok millert@, pedro@ |