summaryrefslogtreecommitdiff
path: root/sys/compat/linux
AgeCommit message (Collapse)Author
2006-10-08Pass linux_sys_waitpid() on to linux_sys_wait4() in order to properlyNikolay Sturm
check and translate options. from netbsd ok deraadt, kettenis
2006-09-25Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which lead to surprising results. Spotted by from Paul Stoeber, more to come. ok miod@
2006-04-28Instrumentation for an in-kernel getcwd() implementation.Pedro Martelletto
Not yet activated. Diff by marius@ long ago, from NetBSD. Okay miod@ and krw@.
2006-03-05Use more queue macros rather than doing it by hand; ok otto@ krw@Miod Vallat
2006-01-19redo (w/ proper changes everywhere ;):Michael Shalayeff
take interp[MAXPATHLEN] off the stack. from mickey, ok otto while here, switch above from malloc to pool, remove stupid casts tedu@ miod@ ok
2005-12-30Missing or incorrect header sizes bounds check; ``looks ok'' mickey@Miod Vallat
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
2005-06-18Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@Todd C. Miller
2005-06-07remove CCITT handlingHenning Brauer
2005-05-26RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@Pedro Martelletto
2005-05-19__unused is used nowMichael Shalayeff
2005-02-17miscellaneous typo fixes:Jean-Francois Brousseau
- sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@
2004-11-23Create the init process earlier, before the root filesystem is mounted,Miod Vallat
and have it stall on a semaphore. This allows all kthread creations which could have been requested during autoconf to be processed before root is mounted as well. This causes umass devices attached to any usb with flags 1 (such as on macppc) to configure properly instead of panicing the kernel at mountroot time. From NetBSD; tested by various.
2004-10-27regenNiklas Hallqvist
2004-10-27Add support for sys_setre[ug]id, ok deraadt@Niklas Hallqvist
2004-08-03the rest of the '#if DIAGNOSTIC' -> '#ifdef DIAGNOSTIC' in the kernel; ok miod@Todd T. Fries
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-08we don't care about copyout's success. add a comment to appease sturm@Ted Unangst
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-13debranch SMP, have funNiklas Hallqvist
2004-05-28regenTed Unangst
2004-05-28ACCOUNTING is optional. found by mpech. ok deraadtTed Unangst
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
2003-12-02Count from now, not from the epoch, to arm alarm.Thomas Nordin
2003-11-25Make SIOCGIFHWADDR work. ok mickey@Thomas Nordin
2003-10-12Linux shmat allows lookup of segments that are marked as removed soTodd C. Miller
our Linux compat should too. From marius aamodt eriksen
2003-09-04syncTed Unangst
2003-09-04dummy xattr syscalls. ok deraadt@Ted Unangst
2003-09-01regen.Federico G. Schwindt
2003-09-01set fadvise64 as dummy. some binaries compiled with a recent glibcFederico G. Schwindt
seems to require it; henning ok.
2003-08-21emulation is now controlled by sysctl. changes:Ted Unangst
add e_flags to struct emul. this stores on/off and native flags. check for emul enabled in check_exec(). gather all the emuls into a emulsw so a sysctl can find them. create sysctl. move maxhdrsiz calcualation into init_main so it cleans up sys_execve codepath. teach sysctl utility to grok kern.emul hierarchy. requested and ok deraadt@ some comments from mickey@
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-08-15regen.Federico G. Schwindt
2003-08-15simplify.Federico G. Schwindt
2003-08-14regen.. again. sorry.Federico G. Schwindt
2003-08-14unbust my previous commit.Federico G. Schwindt
2003-08-14regen.Federico G. Schwindt
2003-08-14add more syscalls. implement exit_group (which is actually an alias forFederico G. Schwindt
sys_exit), needed for newer glibc's binaries. from marius aamodt eriksen <marius at monkey dot org>
2003-08-13remove some copy and waste. from marius@monkey.orgTed Unangst
2003-08-03another gapped system call handled incorrectly: truncate64; marius@monkey.orgTheo de Raadt
2003-08-02syncTheo de Raadt
2003-08-02wrong args for linux ftruncate64; marius@monkey.orgTheo de Raadt
2003-07-24after sys_sendmsg, change control message level back in case somebody looksTed Unangst
at it. we don't use stackgap because control messages can be larger than the gap, and it's just easier this way. ok deraadt@
2003-07-23'r' ioctls, (VFAT) aren't supported, don't pass down.Ted Unangst
see netbsd pr21936. ok deraadt@
2003-07-23syncTed Unangst