| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
and perhaps other fs truncate's to go crazy and panic the machine or worse.
This fixes the truncate bug reported by Michael Class.
|
|
|
|
| |
during my initial kernel port.
|
|
|
|
|
|
| |
owner..
Submitted by: Kirk McKusick
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added "sys/rtprio.h" with the used defines.
Added rtprio(2) - the kernel interface. init_sysent.c,
kern_resource.c
syscalls.master
Added 32 new runqueues (rtqs), with initialization. kern_proc.c
kern_synch.c
Realtime processes do not change nice/priority kern_synch.c
Added a column "rt" to ddb's ps (#ifdef RTPRIO_DEBUG) kern_synch.c
Realtime priorities are enherited through fork(). kern_fork.c
Init (and children) NOT run as realtime process. init_main.c
Submitted by: Henrik Vestergaard Draboel
|
|
|
|
| |
Submitted by: Henrik Vestergaard Draboel
|
|
|
|
|
|
| |
made optional in the kernel config file.
Submitted by: John Hay
|
|
|
|
|
|
| |
with BOUNCE_BUFFERS. This is more intuitive, and is better for future
multiplatform support. Added BOUNCE_BUFFERS option to the GENERIC and
LINT kernel config files.
|
|
|
|
|
|
| |
com.h/lpa.h. Removed all vestiges of com/lpa out of conf.c and also
fixed up the end of cdevsw/bdevsw to have "no" routines instead of
a NULL pointer (suggested by someone a few weeks back).
|
|
|
|
|
|
| |
thrashing.
Submitted by: John Dyson
|
| |
|
|
|
|
| |
extra one caused a warning.
|
|
|
|
|
|
|
|
|
|
| |
in your kernel config now).
2) Added ps ddb function from 1.1.5. Cleaned it up a bit and moved into its
own file.
3) Added \r handing in db_printf.
4) Added missing memory usage stats to statclock().
5) Added dummy function to pseudo_set so it will be emitted if there
are no other pseudo declarations.
|
|
|
|
|
| |
someone gets to re-integrating the code. ntp_gettime() should be
turned into a sysctl variable and emulated in the library.
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
| |
Privatize functions.
|
|
|
|
|
| |
Reviewed by:
Submitted by:
|
|
|
|
|
| |
that causes a no-panic instant reboot when bogus argv/envvs are fed to
execve().
|
| |
|
|
|
|
|
| |
vfs_unmountall() - this is the most common case. If it was a different
error, then print the error number.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
machdep.c:
Changed printf's a little and call vfs_unmountall() if the sync was
successful.
cd9660_vfsops.c, ffs_vfsops.c, nfs_vfsops.c, lfs_vfsops.c:
Allow dismount of root FS. It is now disallowed at a higher level.
vfs_conf.c:
Removed unused rootfs global.
vfs_subr.c:
Added new routines vfs_unmountall and vfs_unmountroot. Filesystems
are now dismounted if the machine is properly rebooted.
ffs_vfsops.c:
Toggle clean bit at the appropriate places. Print warning if an
unclean FS is mounted.
ffs_vfsops.c, lfs_vfsops.c:
Fix bug in selecting proper flags for VOP_CLOSE().
vfs_syscalls.c:
Disallow dismounting root FS via umount syscall.
|
|
|
|
|
|
|
|
| |
use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers.
2) fix a bug in the portalfs that was uncovered by better prototyping -
specifically, the time must be converted from timeval to timespec
before storing in va_atime.
3) fixed/added some miscellaneous prototypes
|
|
|
|
| |
NetBSD group.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
|
|
|
|
| |
tty modes to process a control-T and do the right thing.
|
|
|
|
|
|
| |
done. This patch was extended to also include a suggested change by
Kirk McKusick which allows the control tty to be reasigned to a different
tty without losing a vnode.
|
|
|
|
| |
Evans for suggesting a method to detect various versions of gcc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
``changes'' are actually not changes at all, but CVS sometimes has trouble
telling the difference.
This also includes support for second-directory compiles. This is not
quite complete yet, as `config' doesn't yet do the right thing. You can
still make it work trivially, however, by doing the following:
rm /sys/compile
mkdir /usr/obj/sys/compile
ln -s M-. /sys/compile
cd /sys/i386/conf
config MYKERNEL
cd ../../compile/MYKERNEL
ln -s /sys @
rm machine
ln -s @/i386/include machine
make depend
make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
are running under. Here's how to bootstrap (order is important):
1) Re-compile gcc (just the driver is all you need).
2) Re-compile libc.
3) Re-compile your kernel. Reboot.
4) cd /usr/src/include; make install
You can now detect the compilation environment with the following code:
#if !defined(__FreeBSD__)
#define __FreeBSD_version 199401
#elif __FreeBSD__ == 1
#define __FreeBSD_version 199405
#else
#include <osreldate.h>
#endif
You can determine the run-time environment by calling the new C library
function getosreldate(), or by examining the MIB variable kern.osreldate.
For the time being, the release date is defined as 199409, which we have
already established as our target.
|
| |
|
|
|
|
| |
upcoming makefile change.
|
|
|
|
|
|
|
| |
use it in NFS. This is required both for diskless support and for POSIX
compliance. Note: the support in NFS is only for the local node.
Submitted by: based on work originally done by Yuval Yurom
|
|
|
|
| |
configuration option is no longer supported.
|
|
|
|
| |
Submitted by: Bruce Evans
|
|
|
|
| |
Submitted by: Sean Eric Fagan
|
|
|
|
| |
buffer caches. The old policy generally ended up caching nothing.
|
| |
|
|
|
|
| |
are no longer needed because of this.
|
|
|
|
|
|
| |
that haven't appeared to manifest themselves (yet).
Submitted by: John Dyson
|
|
|
|
|
|
|
|
|
| |
improvements via the new routines pmap_qenter/pmap_qremove and pmap_kenter/
pmap_kremove. These routine allow fast mapping of pages for those
architectures that have "normal" MMUs. Also included is a fix to the
pageout daemon to properly check a queue end condition.
Submitted by: John Dyson
|
|
|
|
| |
the userland library libkvm.
|
|
|
|
|
|
|
|
| |
charge scheduling CPU of child process to the parent and have child
inherit scheduling CPU from parent on fork. Makes a **big** difference
in the feel of the system to interactive users.
Submitted by: John Dyson
|
|
|
|
|
| |
panic in some cases.
Submitted by: John Dyson
|
| |
|
|
|
|
| |
adjustments to compensate for a world without the pagescan daemon.
|
|
|
|
|
|
| |
and thus not require a sleep/wakeup.
Reviewed by:
Submitted by:
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
|
|
|
|
|
|
| |
Imported libmd. This library contains MD2, MD4 and MD5.
These three boggers pop up all over the place all of the time, so I
decided we needed a library with them. In general they are used for
security checks, so if you use them you want to link them static.
|