| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=50748
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove WD formatting code which has never worked in 386bsd or FreeBSD.
Remove DIOCSSTEP and DIOCSRETRIES ioctls as well, they belong in
history, along with the SMD disks.
OK'ed by: bde
Notes:
svn path=/head/; revision=50744
|
|
|
|
|
|
|
|
| |
was a clash the last time, leading me to think that it had already
been fixed.
Notes:
svn path=/head/; revision=50736
|
|
|
|
| |
Notes:
svn path=/head/; revision=50732
|
|
|
|
| |
Notes:
svn path=/head/; revision=50719
|
|
|
|
|
|
|
| |
a sysctl vfs.bdev_access.
Notes:
svn path=/head/; revision=50714
|
|
|
|
|
|
|
| |
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
Notes:
svn path=/head/; revision=50697
|
|
|
|
|
|
|
| |
(return an error to the caller)
Notes:
svn path=/head/; revision=50677
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
an operation, as a kernel client may not have previously checked the CPU
type (it may not be able to).
Also correct the function declaration style for the mem_range functions to
match the rest of this file (oops).
Submitted by: gibbs
Notes:
svn path=/head/; revision=50674
|
|
|
|
|
|
|
| |
Avoid name clash with dev_t member si_tty.
Notes:
svn path=/head/; revision=50671
|
|
|
|
| |
Notes:
svn path=/head/; revision=50669
|
|
|
|
|
|
|
| |
Submitted by: Vsevolod Lobko seva@sevasoft.alex-ua.com
Notes:
svn path=/head/; revision=50666
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the highly non-recommended option ALLOW_BDEV_ACCESS is used.
(bdev access is evil because you don't get write errors reported.)
Kill si_bsize_best before it kills Matt :-)
Use the specfs routines rather having cloned copies in devfs.
Notes:
svn path=/head/; revision=50623
|
|
|
|
|
|
|
|
|
| |
DIAGNOSTIC.
Fixed an English style bug in the panic messages controlled by SAFETY.
Notes:
svn path=/head/; revision=50616
|
|
|
|
|
|
|
| |
Okayed by: hosokawa
Notes:
svn path=/head/; revision=50585
|
|
|
|
| |
Notes:
svn path=/head/; revision=50558
|
|
|
|
|
|
|
|
|
| |
UMAPFS_DIAGNOSTIC and UNION_DIAGNOSTIC. Uncommented NULLFS_DIAGNOSTIC.
It is as bogus as the above three but since it is already a new-style
option it is easier to use it than to fix it.
Notes:
svn path=/head/; revision=50555
|
|
|
|
|
|
|
| |
three copies with one copy in MI land.
Notes:
svn path=/head/; revision=50551
|
|
|
|
|
|
|
| |
reviewing the MFC in -stable.
Notes:
svn path=/head/; revision=50546
|
|
|
|
| |
Notes:
svn path=/head/; revision=50523
|
|
|
|
|
|
|
| |
code, we can find the name from any convenient dev_t
Notes:
svn path=/head/; revision=50511
|
|
|
|
|
|
|
|
|
|
| |
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=50482
|
|
|
|
| |
Notes:
svn path=/head/; revision=50480
|
|
|
|
| |
Notes:
svn path=/head/; revision=50477
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
discussed on current.
The following variables are defined (for now):
osname (defaults to "Linux")
Allow users to change the name of the OS as returned by uname(2),
specially added for all those Linux Netscape users and statistics
maniacs :-) We now have what we all wanted!
osrelease (defaults to "2.2.5")
Allow users to change the version of the OS as returned by uname(2).
Since -current supports glibc2.1 now, change the default to 2.2.5
(was 2.0.36).
oss_version (defaults to 198144 [0x030600])
This one will be used by the OSS_GETVERSION ioctl (PR 12917) which I
can commit now that we have the MIB. The default version number is the
lowest version possible with the current 'encoding'.
A note about imprisoned processes (see jail(2)):
These variables are copy-on-write (as suggested by phk). This means that
imprisoned processes will use the system wide value unless it is written/set
by the process. From that moment on, a copy local to the prison will be
used.
A note about the implementation:
I choose to add a single pointer to struct prison, because I didn't like the
idea of changing struct prison every time I come up with a new variable. As
a side effect, the extra storage is only needed when a variable is set from
within the prison. This also minimizes kernel bloat when the Linuxulator is
not used; both compiled in or as a module.
Reviewed by: bde (first version only) and phk
Notes:
svn path=/head/; revision=50465
|
|
|
|
|
|
|
| |
and always reload the selectors for every bios call.
Notes:
svn path=/head/; revision=50463
|
|
|
|
|
|
|
| |
FBIO_SETLINEWIDTH.
Notes:
svn path=/head/; revision=50446
|
|
|
|
|
|
|
| |
of EAX and EBX.
Notes:
svn path=/head/; revision=50445
|
|
|
|
|
|
|
| |
the volatile cast warnings.
Notes:
svn path=/head/; revision=50442
|
|
|
|
|
|
|
| |
Slight tidy up while here.
Notes:
svn path=/head/; revision=50435
|
|
|
|
|
|
|
|
| |
SUPERALIGN_TEXT, but this is inline assembler and after cpp has run.
Inspired by bde's comments on linux_locore.s.
Notes:
svn path=/head/; revision=50379
|
|
|
|
|
|
|
|
|
| |
aligned. If I recall correctly, this is to ensure apic_imen can be
accessed in a single bus cycle. Also, use TEXT_ALIGN rather than a
.align 2 (which means 2 byte align on ELF and 4 byte align on a.out)
Notes:
svn path=/head/; revision=50378
|
|
|
|
|
|
|
|
|
| |
emulator.
Suggested by: bde
Notes:
svn path=/head/; revision=50377
|
|
|
|
|
|
|
| |
Pointed out by: bde
Notes:
svn path=/head/; revision=50363
|
|
|
|
|
|
|
|
|
|
|
| |
directory. Also, update arguments of NDINIT for both newstat and newlstat.
While I'm at it, fix style bugs in all {s|ls|fs}tat syscalls.
Reported by: bde
Notes:
svn path=/head/; revision=50356
|
|
|
|
|
|
|
|
|
|
|
|
| |
egid will be twice in the set and that setting cr_groups[0] will change egid.
This is simply solved by ignoring cr_groups[0]. That is; linux_getgroups does
not return cr_groups[0] and linux_setgroups does not touch it.
Noticed by: bde
Brought to my attention by: sheldonh
Notes:
svn path=/head/; revision=50350
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
a multiple of 4 bytes in size. This solves the recent SIGBUS errors for
glibc2.1 configurations.
Explained by: bde
Notes:
svn path=/head/; revision=50343
|
|
|
|
| |
Notes:
svn path=/head/; revision=50337
|
|
|
|
|
|
|
|
|
|
| |
calling function, otherwise Bad Things Happen(tm) when bios16_call is
not in the same page as bios_jmp.
Reviewed by: msmith
Notes:
svn path=/head/; revision=50336
|
|
|
|
| |
Notes:
svn path=/head/; revision=50315
|
|
|
|
|
|
|
|
| |
off the top of our constructed stack segment while it's trying to copy a
maximally-sized PnP argument frame around.
Notes:
svn path=/head/; revision=50313
|
|
|
|
|
|
|
| |
Submitted by: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
Notes:
svn path=/head/; revision=50303
|
|
|
|
|
|
|
| |
versa. Cosmetic.
Notes:
svn path=/head/; revision=50275
|
|
|
|
|
|
|
| |
Use device_get_nameunit() instead of rolling our own.
Notes:
svn path=/head/; revision=50271
|
|
|
|
|
|
|
|
|
| |
gcc warns about the cast on i386's with 64-bit longs.
Print `bootdev' in all cases when we bail out because it is unreasonable.
Notes:
svn path=/head/; revision=50268
|
|
|
|
|
|
|
|
| |
call to panic when SL_DEBUG is set. (SL_DEBUG is currently set
by default.)
Notes:
svn path=/head/; revision=50262
|