| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
the actual work. When USER_LDT is not defined for a kernel, sysarch returns
EOPNOTSUPP. Display a message in that case and return ENOSYS to userland.
Reviewed by: luoqi
Notes:
svn path=/head/; revision=50818
|
| |
|
|
|
|
|
|
|
|
| |
the sysctl variable `compat.linux.oss_version'.
PR: 12917
Originator: Dean Lombardo <dlombardo@excite.com>
Notes:
svn path=/head/; revision=50500
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
| |
or not implemented'.
Notes:
svn path=/head/; revision=50348
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
know if and when an unimplemented or obsoleted syscall is being used. Make the
message more end-user friendly.
And as long as we're here, rename some unimplemeted syscalls (linux_phys ->
linux_umount2, linux_vm86 -> linux_vm86old, linux_new_vm86 -> linux_vm86).
Change prototype for linux_newuname from `struct linux_newuname_t *' into
`struct linux_new_utsname *'. This change is reflected in linux.h and
linux_misc.c.
Notes:
svn path=/head/; revision=50345
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
know if and when an unimplemented or obsoleted syscall is being used. Make the
message more end-user friendly.
And as long as we're here, rename some unimplemeted syscalls (linux_phys ->
linux_umount2, linux_vm86 -> linux_vm86old, linux_new_vm86 -> linux_vm86).
Change prototype for linux_newuname from `struct linux_newuname_t *' into
`struct linux_new_utsname *'. This change is reflected in linux.h and
linux_misc.c.
Lastly, make line-continuation and indentation more uniform.
Notes:
svn path=/head/; revision=50344
|
| |
|
|
| |
Notes:
svn path=/head/; revision=49889
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The first reason for this rewrite is KNF conformance.
The second reason is to avoid redundancy. Each function printed the same
string, with only the syscall name being different. The actual printing is now
performed by a single function, which gets the syscall name as an argument.
The third reason is that of convenience. It's now very easy to add a new
dummy implementation. Just add ``DUMMY(foo);'' to the file. It's also a lot
easier now to see if a syscall has a dummy implementation or not.
The dummies are ordered on syscall number. Please maintain this when adding
new dummies (there're 32 candidates at the time of writing :-)
Reviewed by: bde
Notes:
svn path=/head/; revision=49850
|
| |
|
|
|
|
|
|
|
|
| |
argument.
PR: 12006
Originator: Jean-Claude MICHOT <jcmichot@teaser.fr>
Notes:
svn path=/head/; revision=49849
|
| |
|
|
|
|
|
|
|
| |
argument.
PR: 12006
Notes:
svn path=/head/; revision=49848
|
| |
|
|
|
|
|
|
| |
are syscalls 183 to 190. Also implement syscall 183: linux_getcwd. This is
needed to support a RH 6.0 environment.
Notes:
svn path=/head/; revision=49787
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
functions use the new sigset_t and sigaction_t which allows support for more
than 32 signals. Only the lower 32 signals are supported for now.
linux_rt_sigaction, linux_sigaction and linux_signal use linux_do_sigaction
to do the actual work. That way unnecessary redundancy is avoided. The same
has been done for linux_rt_sigprocmask and linux_sigprocmask. They call
linux_do_sigprocmask to do the actual work.
Notes:
svn path=/head/; revision=49786
|
| |
|
|
|
|
|
| |
syscalls are needed to support a RH 6.0 environment.
Notes:
svn path=/head/; revision=49784
|
| |
|
|
| |
Notes:
svn path=/head/; revision=49688
|
| |
|
|
|
|
|
|
| |
PR: 12749
Submitted by: Boris Nikolaus <boris@cs.tu-berlin.de>
Notes:
svn path=/head/; revision=49662
|
| |
|
|
|
|
|
|
|
|
|
| |
The linux syscalls translate the arguments first before invoking the
FreeBSD native syscalls.
PR: kern/9591
Originator: John Plevyak <jplevyak@inktomi.com>
Notes:
svn path=/head/; revision=49626
|
| |
|
|
|
|
|
|
|
|
| |
match.
PR: kern/9591
Originator: John Plevyak <jplevyak@inktomi.com>
Notes:
svn path=/head/; revision=49624
|
| |
|
|
|
|
|
| |
Reviewed by: bde
Notes:
svn path=/head/; revision=48851
|
| |
|
|
|
|
|
| |
Submitted by: Kazutaka Yokota <yokota@FreeBSD.org>
Notes:
svn path=/head/; revision=48685
|
| |
|
|
|
|
|
|
|
|
| |
with sa_ when <signal.h> is included. They would conflict with the
upcoming SA_SIGINFO implementation.
Reviewed by: BDE
Notes:
svn path=/head/; revision=48620
|
| |
|
|
|
|
|
| |
inlines happy.
Notes:
svn path=/head/; revision=48303
|
| |
|
|
|
|
|
|
| |
argument size as their write counterparts and were handled as write ioctls.
- Emulate some cdrom ioctls.
Notes:
svn path=/head/; revision=46163
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- %fs register is added to trapframe and saved/restored upon kernel entry/exit.
- Per-cpu pages are no longer mapped at the same virtual address.
- Each cpu now has a separate gdt selector table. A new segment selector
is added to point to per-cpu pages, per-cpu global variables are now
accessed through this new selector (%fs). The selectors in gdt table are
rearranged for cache line optimization.
- fask_vfork is now on as default for both UP and SMP.
- Some aio code cleanup.
Reviewed by: Alan Cox <alc@cs.rice.edu>
John Dyson <dyson@iquest.net>
Julian Elischer <julian@whistel.com>
Bruce Evans <bde@zeta.org.au>
David Greenman <dg@root.com>
Notes:
svn path=/head/; revision=46129
|
| |
|
|
|
|
|
| |
and appeared to be working for the Alpha some time ago.
Notes:
svn path=/head/; revision=45821
|
| |
|
|
|
|
|
| |
legs out from under you.
Notes:
svn path=/head/; revision=43620
|
| |
|
|
| |
Notes:
svn path=/head/; revision=42766
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
downward growing stacks more general.
Add (but don't activate) code to use the new stack facility
when running threads, (specifically the linux threads support).
This allows people to use both linux compiled linuxthreads, and also the
native FreeBSD linux-threads port.
The code is conditional on VM_STACK. Not using this will
produce the old heavily tested system.
Submitted by: Richard Seaman <dick@tar.com>
Notes:
svn path=/head/; revision=42360
|
| |
|
|
|
|
|
|
| |
PR: 9232
Submitted by: marcel@scc.nl <Marcel Moolenaar>
Notes:
svn path=/head/; revision=42186
|
| |
|
|
|
|
|
| |
PR: 9235
Notes:
svn path=/head/; revision=42184
|
| |
|
|
| |
Notes:
svn path=/head/; revision=41997
|
| |
|
|
|
|
|
|
|
|
| |
syscall is used by Oracle.
PR: 9154
Submitted by: Marcel Moolenaar <marcel@scc.nl>
Notes:
svn path=/head/; revision=41987
|
| |
|
|
|
|
|
|
|
| |
I have no idea if the new stuff works though.
Broken by: Julian
Notes:
svn path=/head/; revision=41942
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: "Richard Seaman, Jr." <lists@tar.com>
Obtained from: linux :-)
Code to allow Linux Threads to run under FreeBSD.
By default not enabled
This code is dependent on the conditional
COMPAT_LINUX_THREADS (suggested by Garret)
This is not yet a 'real' option but will be within some number of hours.
Notes:
svn path=/head/; revision=41931
|
| |
|
|
|
|
|
|
|
|
| |
adjusted related casts to match (only in the kernel in this commit).
The pointer was only wanted in one place in kern_exec.c. Applications
should use the kern.ps_strings sysctl instead of PS_STRINGS, so they
shouldn't notice this change.
Notes:
svn path=/head/; revision=41871
|
| |
|
|
|
|
|
|
|
|
| |
ECANCELED, EILSEQ.
Fixed ibcs2 and especially linux EIDRM and ENOMSG errno mapping.
Reviewed by: Dan Nelson <dnelson@emsphone.com>
Notes:
svn path=/head/; revision=41796
|
| |
|
|
|
|
|
| |
modeventhand_t.
Notes:
svn path=/head/; revision=41173
|
| |
|
|
|
|
|
|
|
|
| |
for PR 7792 but did not bring forward.
Submitted by: Avatar Liang <avatar@www.mmlab.cse.yzu.edu.tw>
PR: 8656
Notes:
svn path=/head/; revision=41105
|
| |
|
|
|
|
|
|
|
|
|
| |
This is the bulk of the support for doing kld modules. Two linker_sets
were replaced by SYSINIT()'s. VFS's and exec handlers are self registered.
kld is now a superset of lkm. I have converted most of them, they will
follow as a seperate commit as samples.
This all still works as a static a.out kernel using LKM's.
Notes:
svn path=/head/; revision=40435
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Change the ELF registration/unregistration scheme to be less error prone.
Adding a new brand requires a single addition to linux_brandlist instead of
modifying linux_load(), linux_unload(), and linux_elf_init().
Approved by: jkh
Reviewed by: msmith
Notes:
svn path=/head/; revision=40237
|
| |
|
|
|
|
|
|
| |
Although the current Sybase license does not permit running under
emulation, FreeBSD 3.0 is now "Sybase Ready" should the license change.
Notes:
svn path=/head/; revision=39978
|
| |
|
|
|
|
|
| |
found while looking for the one.
Notes:
svn path=/head/; revision=39799
|
| |
|
|
|
|
|
| |
I can't say this was the most inspired fix, but it matches the design OK.
Notes:
svn path=/head/; revision=39437
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
object format of the executable being dumped. This is the first
step toward producing ELF core dumps in the proper format. I will
commit the code to generate the ELF core dumps Real Soon Now. In
the meantime, ELF executables won't dump core at all. That is
probably no less useful than dumping a.out-style core dumps as they
have done until now.
Submitted by: Alex <garbanzo@hooked.net> (with very minor changes by me)
Notes:
svn path=/head/; revision=39154
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
XFree86 server, users need to create the following links in their
/compat/linux/dev directory (assuming kernel configured with 4 VTs).
lrwxrwxrwx 1 root wheel 7 Aug 30 22:59 tty0 -> console
lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty1 -> ttyv0
lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty2 -> ttyv1
lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty3 -> ttyv2
lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty4 -> ttyv3
VT switching is still not yet supported. Attempting to switch VT
currently will cause Xserver bus error.
Submitted by: Chain Lee <chain@110.net>
Notes:
svn path=/head/; revision=38672
|
| |
|
|
|
|
|
| |
integers. Don't forget to cast to (void *) as well.
Notes:
svn path=/head/; revision=38354
|
| |
|
|
| |
Notes:
svn path=/head/; revision=37950
|
| |
|
|
|
|
|
|
| |
Use offsetof() instead of null pointer hacks. Use a home made offsetof()
because including <stddef.h> is not permitted in LKMs.
Notes:
svn path=/head/; revision=37949
|
| |
|
|
|
|
|
|
|
| |
but quake2 AFAIK.
Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
Notes:
svn path=/head/; revision=37548
|
| |
|
|
|
|
|
|
|
|
| |
makesyscalls.sh generating it as pollution.
Don't attempt to separate the includes by newlines. makesyscalls.sh
just ignores newlines.
Notes:
svn path=/head/; revision=36781
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change brings us
inline with various other BSD versions. Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.
The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
Notes:
svn path=/head/; revision=36735
|