summaryrefslogtreecommitdiff
path: root/sys/compat
AgeCommit message (Collapse)Author
2004-10-27regenNiklas Hallqvist
2004-10-27Add support for sys_setre[ug]id, ok deraadt@Niklas Hallqvist
2004-09-28This compiles better with the correct contents.Miod Vallat
2004-09-19regenMichael Shalayeff
2004-09-19proper sigsetreturn() argsMichael Shalayeff
2004-09-19another long that is really u_intMichael Shalayeff
2004-09-19const this speedtab tooMichael Shalayeff
2004-09-19ressurect hpux_sig.c and implement just the different parts in arch/hpux_sig2.cMichael Shalayeff
2004-09-19constify speedtabs and make ttspeedtab() take a const struct speedtab *Michael Shalayeff
2004-09-16No kern_ipc_10 on mips64.Miod Vallat
2004-08-03the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@Todd T. Fries
2004-08-01proper check for the end of stackgap on growinupperstacksMichael Shalayeff
2004-07-15regenMichael Shalayeff
2004-07-15+setdomain,getdirentriesMichael Shalayeff
2004-07-15Complete rewrite derived from kern_ipc_35.cTodd C. Miller
2004-07-15In cvt_ds, copy from the address of the first element past theTodd C. Miller
struct ipc_perm instead of using sizeof to figure out the offset. Might make a difference for architectures with strict alignment if someone changes this from bcopy to memcpy and gcc inlines it.
2004-07-14Because mode_t is used in struct ipc_perm we need new versions ofTodd C. Miller
the msgctl, semctl, and shmctl system calls. This moves the old versions to COMPAT_35 and adds new ones. WARNING: While this fixes things like shared memory in the X server for old (pre-mode_t change) binaries, it will break binaries that use shared memory built between the time of the mode_t change (Jul 13th) and now. If you rebuild X during that interval you will need to do it again after updating the rest of userland.
2004-07-14Zero out st_gen for non-root in *stat(). OK deraadt@Todd C. Miller
2004-07-14fhstat(2) uses struct stat too and so needs replacing as well.Todd C. Miller
OK miod@
2004-07-14regenMichael Shalayeff
2004-07-14+set/getpriorityMichael Shalayeff
2004-07-13regen after stat/mode_t/nlink_t changesTodd C. Miller
2004-07-13Change mode_t and nlink_t from 16bit to 32bit. This allows us toTodd C. Miller
use mode_t in syscalls.master and to use mode_t in more places in the kernel. It also makes lint much more useful on kernel code. I've also added a placeholder for st_birthtime to make a UFS2 import easier at some future date. Requested by and OK deraadt@
2004-07-13regenMichael Shalayeff
2004-07-13+madvise,msync,mlock,munlock,mlockall,munlockallMichael Shalayeff
2004-07-13regenMichael Shalayeff
2004-07-13+getdomainnameMichael Shalayeff
2004-07-11typedef hpux_stack_t kinda like stack_tMichael Shalayeff
2004-07-11get 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-11move struct hpux_sigaltstack out into .h file as i just figured out it is ↵Michael Shalayeff
needed elsewhere too
2004-07-11regenMichael Shalayeff
2004-07-11sigaltstack wrapperMichael Shalayeff
2004-07-10regenMichael Shalayeff
2004-07-10enable stty/gtty on hppa as wellMichael Shalayeff
2004-07-10add back in piece required for m68kTheo de Raadt
2004-07-09regenTodd C. Miller
2004-07-09Rename ostat -> stat43 to disambiguate from upcoming struct stat changes.Todd C. Miller
Idea from NetBSD, OK deraadt@
2004-07-09regenMichael Shalayeff
2004-07-09feh. hppa part. some unfinished and untestedMichael Shalayeff
2004-07-09regenMichael Shalayeff
2004-07-09split off the m68k-specific partsMichael Shalayeff
2004-07-08we don't care about copyout's success. add a comment to appease sturm@Ted Unangst
2004-07-01add HPUX_SYSCONF_CPUPA20Michael Shalayeff
2004-06-30regenMichael Shalayeff
2004-06-30update from netbsd: use sys_poll() and label some other unimplemented ones; ↵Michael Shalayeff
millert@ ok
2004-06-25typoTheo de Raadt
2004-06-24This 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-22Replace a whole bunch of scary uses of strncpy() with strlcpy() andJean-Francois Brousseau
use compat-specific MAXNAMLEN values where appropriate ok millert@, pedro@
2004-06-22do not bcopy wrong stuff thereTheo de Raadt
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@