| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
references along with the actual obtaining of additional references.
|
|
|
|
| |
- Back out locking ucred's and bumping refcounts for vnode operations.
|
| |
|
|
|
|
|
|
|
| |
- Use queue macros.
- Use NULL instead of 0 for pointers.
Reviewed by: des
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- Fix several bugs in the wait syscall, including freeing the actual
proc start, freeing the args, freeing the prison, and other minor
nits.
- Use appropriate queue(3) macros.
- Use zpfind() instead of walking zombproc ourselves.
|
|
|
|
| |
controlled by svr_str_initialized be MP safe.
|
|
|
|
| |
argument.
|
|
|
|
| |
operations.
|
| |
|
|
|
|
| |
Submitted by: KUROSAWA Takahiro <fwkg7679@mb.infoweb.ne.jp>
|
| |
|
|
|
|
| |
look in the device's cdevsw for the D_DISK flag.
|
| |
|
|
|
|
|
| |
explicitly error. If the module is horribly broken, it should be
temporarily removed from src/sys/modules.
|
|
|
|
|
| |
broken and not fixed by whoever changed the interface of chgproccnt();
in the state it is in it could not possibly work (dereferencing an integer).
|
|
|
|
| |
This fixes the problem with VMWARE not being able to use raw disks.
|
|
|
|
|
|
|
|
| |
proctree_lock.
linprocfs not locked pending response from informal maintainer.
Reviewed by: jhb, -smp@
|
|
|
|
|
|
|
|
|
| |
To use it, some dll is needed. And currently, the dll is only for NetBSD.
So one more kernel module is needed.
For more infomation,
http://chiharu.haun.org/peace/ .
Reviewed by: bp
|
|
|
|
| |
Approved by: marcel
|
|
|
|
| |
Glanced over by: marcel
|
|
|
|
|
|
|
|
|
|
| |
Generate a version string that looks just like a real Linux one - almost :)
Use sbufs everywhere instead of sprintf(). Note that this is still imperfect,
as the code does not check whether the sbuf overflowed - but it'll still
work better than before, since if the sbuf overflows, the code now simply
copies out 0 bytes instead of causing a trap (or worse, corrupting kernel
structures)
|
| |
|
|
|
|
| |
Approved by: DES
|
|
|
|
|
|
|
|
| |
of explicit calls to lockmgr. Also provides macros for the flags
pased to specify shared, exclusive or release which map to the
lockmgr flags. This is so that the use of lockmgr can be easily
replaced with optimized reader-writer locks.
- Add some locking that I missed the first time.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
waiting for procfs to get fixed:
- Use fill_eproc() to obtain correct VM stats. Attempt to compute VmLib.
- Fill some more fields in proc/<pid>/stat, and add four (unimplemented)
fields after studying a recent Linux kernel.
- Compute CPU frequency only once instead of twice.
- Fix some comments that were OBE.
- Fix indentation except where it makes the code less readable.
|
|
|
|
| |
to MALLOC.
|
|
|
|
| |
Spotted by: jake
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
process is on the alternate stack or not. For compatibility
with sigstack(2) state is being updated if such is needed.
We now determine whether the process is on the alternate
stack by looking at its stack pointer. This allows a process
to siglongjmp from a signal handler on the alternate stack
to the place of the sigsetjmp on the normal stack. When
maintaining state, this would have invalidated the state
information and causing a subsequent signal to be delivered
on the normal stack instead of the alternate stack.
PR: 22286
|
|
|
|
|
|
| |
allocated, 2 have been added to struct proc for setitimer and sleep.
Reviewed by: jhb, jlemon
|
|
|
|
|
|
|
| |
but not more so than Linux' definition).
This should get the IBM JDK 1.3 working again.
Prompted by: sobomax
|
|
|
|
| |
Submitted-by: "Danny J. Zerkel" <dzerkel@columbus.rr.com>
|
|
|
|
|
|
|
|
|
|
| |
to our native connect(). This is required to deal with the differences
in the way linux handles connects on non-blocking sockets.
This gets the private beta of the Compaq Linux/alpha JDK working
on FreeBSD/alpha
Approved by: marcel
|
|
|
|
|
|
|
|
| |
signal. There's at least 1 program that is known to break.
Submitted patch has been edited to match current code.
MFC: yes
Submitted by: bde
|
|
|
|
| |
Syncing with it is wrong.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
syscall compare against a variable sv_minsigstksz in struct
sysentvec as to properly take the size of the machine- and
ABI dependent struct sigframe into account.
The SVR4 and iBCS2 modules continue to have a minsigstksz of
8192 to preserve behavior. The real values (if different) are
not known at this time. Other ABI modules use the real
values.
The native MINSIGSTKSZ is now defined as follows:
Arch MINSIGSTKSZ
---- -----------
alpha 4096
i386 2048
ia64 12288
Reviewed by: mjacob
Suggested by: bde
|
|
|
|
|
| |
Do not use sysent.c, proto.h and syscall.h in source tree;
use auto-generated versions.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The offset field in struct dirent was set to the offset of
the next dirent in rev 1.36. The offset was calculated from
the current offset and the record length. This offset does
not necessarily match the real offset when we are using
cookies. Therefore, also use the cookies to set the offset
field in struct dirent if we're using cookies to iterate
through the dirents.
|
|
|
|
| |
Submitted by: Clive Lin <clive@CirX.ORG>
|
|
|
|
| |
pointed out by: obrien
|
|
|
|
|
|
|
|
| |
for a block device isn't that useful anymore.
Reported by: Wesley Morgan <morganw@chemicals.tacorp.com>
Submitted by: gallatin
Acknowledged by: phk
|