summaryrefslogtreecommitdiff
path: root/sys/compat
AgeCommit message (Collapse)Author
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@
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-05-28regenTed Unangst
2004-05-28ACCOUNTING is optional. found by mpech. ok deraadtTed Unangst
2004-05-05make compile peace frienship bubblegumMichael Shalayeff
2004-05-03POSIX says the length parameter for semop(2) and shmget(2) should be size_t.Todd C. Miller
Create new syscalls with the correct parameters and add compat versions for the old ones under COMPAT_35.
2004-04-25fix typos/spelling in comments, from pedro martellettoJolan Luff
2004-04-15rework access to emulations slightly in an effort to both merge andTed Unangst
separate exec format from emulation. consistent naming of freebsd emuls. not much in the way of functional changes yet. testing and ok deraadt@ and others along the way.
2004-04-05syncTed Unangst
2004-04-05madvise works fine without translation, from Sam Smith.Ted Unangst
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.