]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoProtect SIGDELSET of p_siglist with the proc lock.
jhb [Wed, 7 Mar 2001 03:34:55 +0000 (03:34 +0000)]
Protect SIGDELSET of p_siglist with the proc lock.

23 years agoProc locking including using proc lock in place of proctree where
jhb [Wed, 7 Mar 2001 03:28:50 +0000 (03:28 +0000)]
Proc locking including using proc lock in place of proctree where
appropriate and locking processes while we signal them.

23 years agoProc locking.
jhb [Wed, 7 Mar 2001 03:27:32 +0000 (03:27 +0000)]
Proc locking.

23 years agoUse the proc lock to protect access to p_sigacts->ps_sigintr.
jhb [Wed, 7 Mar 2001 03:26:39 +0000 (03:26 +0000)]
Use the proc lock to protect access to p_sigacts->ps_sigintr.

23 years agoFix a formatting bug (MFC candidate)
des [Wed, 7 Mar 2001 03:22:11 +0000 (03:22 +0000)]
Fix a formatting bug (MFC candidate)

23 years agoJust hold the proc lock while getting the parent's PID rather than a
jhb [Wed, 7 Mar 2001 03:21:26 +0000 (03:21 +0000)]
Just hold the proc lock while getting the parent's PID rather than a
proctree lock.

23 years agoUse the proc lock to protect p_pptr when waking up our parent in cpu_exit()
jhb [Wed, 7 Mar 2001 03:20:15 +0000 (03:20 +0000)]
Use the proc lock to protect p_pptr when waking up our parent in cpu_exit()
and remove the mpfixme() message that is now fixed.

23 years agoJust use proc lock to protect reading of p_pptr rather than a proctree
jhb [Wed, 7 Mar 2001 03:18:36 +0000 (03:18 +0000)]
Just use proc lock to protect reading of p_pptr rather than a proctree
lock.

23 years agoProc locking identical to that of linprocfs' vnops except that we hold the
jhb [Wed, 7 Mar 2001 03:15:05 +0000 (03:15 +0000)]
Proc locking identical to that of linprocfs' vnops except that we hold the
proc lock while calling psignal.

23 years agoProtect read to p_pptr with proc lock rather than proctree lock.
jhb [Wed, 7 Mar 2001 03:10:20 +0000 (03:10 +0000)]
Protect read to p_pptr with proc lock rather than proctree lock.

23 years agoProc locking. Lock around psignal() and also ensure both an exclusive
jhb [Wed, 7 Mar 2001 03:09:40 +0000 (03:09 +0000)]
Proc locking.  Lock around psignal() and also ensure both an exclusive
proctree lock and the process lock are held when updating p_pptr and
p_oppid.  When we are just reaading p_pptr we only need the proc lock and
not a proctree lock as well.

23 years ago- Proc locking.
jhb [Wed, 7 Mar 2001 03:06:18 +0000 (03:06 +0000)]
- Proc locking.
- Remove some unneeded spl()'s.

23 years agoLock the process while sending it SIGARLM and updating p_realtimer.
jhb [Wed, 7 Mar 2001 03:02:56 +0000 (03:02 +0000)]
Lock the process while sending it SIGARLM and updating p_realtimer.

23 years ago- Proc locking.
jhb [Wed, 7 Mar 2001 03:01:53 +0000 (03:01 +0000)]
- Proc locking.
- Remove unneeded spl()'s.

23 years ago- Proc locking. Most of signal handling is now MP safe and doesn't require
jhb [Wed, 7 Mar 2001 02:59:54 +0000 (02:59 +0000)]
- Proc locking.  Most of signal handling is now MP safe and doesn't require
  Giant.  The only exception is the CANSIGNAL() macro.  Unlocking the proc
  lock around sendsig() in trapsignal() is also questionable.  Note that
  the functions sigexit(), psignal(), and issignal() must be called with
  the proc lock of the process in question held.  postsig() and
  trapsignal() should not be called with the proc lock held, but they
  also do not require Giant anymore either.
- Remove spl's that are now no longer needed as they are fully replaced.

23 years agoLock initproc when we send SIGINT to init during shutdown.
jhb [Wed, 7 Mar 2001 02:50:09 +0000 (02:50 +0000)]
Lock initproc when we send SIGINT to init during shutdown.

23 years ago- Add an extra check in priority_propagation() for UP systems to ensure we
jhb [Wed, 7 Mar 2001 02:45:15 +0000 (02:45 +0000)]
- Add an extra check in priority_propagation() for UP systems to ensure we
  don't end up back at ourselves which would indicate deadlock.
- Add the proc lock to the witness dup_list as we may hold more than one
  process lock at a time.
- Don't assert a mutex is owned in _mtx_unlock_sleep() as that is too late.
  We do the checks in the macros instead.

23 years ago- Use _PHOLD and move it before a PROC_UNLOCK to reduce the number of
jhb [Wed, 7 Mar 2001 02:36:47 +0000 (02:36 +0000)]
- Use _PHOLD and move it before a PROC_UNLOCK to reduce the number of
  mutex operations in kthread_create().
- Lock a kthread's proc before changing its parent via proc_reparent().
- Test P_KTHREAD not P_SYSTEM in kthread_suspend() and kthread_resume().
  P_SYSTEM just means that the process shouldn't be swapped and is used
  for vinum's daemon for example.
- Lock all the signal state used for suspending and resuming kthreads with
  the proc lock.

23 years ago- Lock the forklist with an sx lock.
jhb [Wed, 7 Mar 2001 02:30:39 +0000 (02:30 +0000)]
- Lock the forklist with an sx lock.
- Add proc locking to fork1().  Always lock the child procoess (new
  process) first when both processes need to be locked at the same
  time.
- Remove unneeded spl()'s as the data they protected is now locked.
- Ensure that the proctree is exclusively locked and the new process is
  locked when setting up the parent process pointer.
- Lock the check for P_KTHREAD in p_flag in fork_exit().

23 years agoCheck to see if p_fd is NULL before derferencing it in checkdirs(). It's
jhb [Wed, 7 Mar 2001 02:25:13 +0000 (02:25 +0000)]
Check to see if p_fd is NULL before derferencing it in checkdirs().  It's
possible for us to see a process in the early stages of fork before p_fd
has been initialized.  Ideally, we wouldn't stick a process on the allproc
list until it was fully created however.

23 years ago- Call proc_reparent() when handing a process off to init in exit rather
jhb [Wed, 7 Mar 2001 02:22:31 +0000 (02:22 +0000)]
- Call proc_reparent() when handing a process off to init in exit rather
  than dinking around in the process lists explicitly.
- Hold both the proctree lock and proc lock of the child process when
  reparenting a process via proc_reparent.
- Lock processes while sending them signals.
- Miscellaenous proc locking.
- proc_reparent() now asserts that the child is locked in addition to an
  exclusive proctree lock.

23 years ago- Hold both an exclusive proctree lock and the proc lock when reparenting
jhb [Wed, 7 Mar 2001 02:17:43 +0000 (02:17 +0000)]
- Hold both an exclusive proctree lock and the proc lock when reparenting
  a traced process during exit.
- Lock the parent process while sending it SIGCHLD.

23 years agoProtect p_flag with the proc lock.
jhb [Wed, 7 Mar 2001 02:07:56 +0000 (02:07 +0000)]
Protect p_flag with the proc lock.

23 years ago- Include <sys/systm.h> for KASSERT().
jhb [Wed, 7 Mar 2001 02:06:08 +0000 (02:06 +0000)]
- Include <sys/systm.h> for KASSERT().
- Move the _mtx_assert() prototype up to the top of the file with the rest
  of the function prototypes.
- Define all the mtx_foo() macros in terms of mtx_foo_flags().
- Add a KASSERT() to check for invalid options in mtx_lock_flags().
- Move the mtx_assert() to ensure a mutex is owned before releasing it
  in front of WITNESS_EXIT() in all the mtx_unlock_* macros.
- Change the MPASS* macros to be on #ifdef INVARIANTS, not just #ifdef
  MUTEX_DEBUG since most of them check to see that the mutex functions are
  called properly.  Define MPASS4() in terms of KASSERT() to do this.
- Define MPASS{,[23]} in terms of MPASS4() to simplify things and avoid
  code duplication.

23 years ago- In the locking key for struct proc, generalize the '+' symbol to mean
jhb [Wed, 7 Mar 2001 01:51:34 +0000 (01:51 +0000)]
- In the locking key for struct proc, generalize the '+' symbol to mean
  that write access to a member requires both locks and read access only
  requires one of the given locks.  Convert instances of '(c+)' to
  '(c + k)' as a result.
- Change p_pptr from (e) to (c + e).
- Change p_oppid from (c) to (c + e).
- Change p_args from (b?) to (c + k).
- Move the actual work of STOPEVENT, PHOLD, and PRELE to _STOPEVENT,
  _PHOLD, and _PRELE.  The new macros do not acquire the proc lock and
  simply assert that it is held.  The non _ prefixed macros acquire the
  proc lock and then call the _ prefixed macros.
- Add a PROC_LOCK_NOSWITCH() macro to be used when releasing the proc lock
  while already holding a spin lock (usually sched_lock).
- Add a PROC_LOCK_ASSERT() macro to be used to make assertions about the
  proc lock.  It takes the usual mtx_assert() macro arguments as its
  second argument.

23 years agoBack out the pmap_map() change for now, it isn't completely stable on the
jhb [Wed, 7 Mar 2001 01:04:17 +0000 (01:04 +0000)]
Back out the pmap_map() change for now, it isn't completely stable on the
i386.

23 years agoadd new PC-Card entry, IO Data WN-B11/PCM
sanpei [Wed, 7 Mar 2001 00:58:52 +0000 (00:58 +0000)]
add new PC-Card entry, IO Data WN-B11/PCM

Submitted by: [FreeBSD-users-jp 59373]
"Masatake E. Hori" <eddie@luft.geo.tsukuba.ac.jp>

23 years agoIn order to avoid recursing on the backing mutex for sx locks in the
jhb [Tue, 6 Mar 2001 23:13:15 +0000 (23:13 +0000)]
In order to avoid recursing on the backing mutex for sx locks in the
INVARIANTS case, define the actual KASSERT() in _SX_ASSERT_[SX]LOCKED
macros that are used in the sx code itself and convert the
SX_ASSERT_[SX]LOCKED macros to simple wrappers that grab the mutex for the
duration of the check.

23 years agoGet the arguments to the KASSERT() printf() in SX_ASSERT_XLOCKED() in
jhb [Tue, 6 Mar 2001 22:41:31 +0000 (22:41 +0000)]
Get the arguments to the KASSERT() printf() in SX_ASSERT_XLOCKED() in
the proper order.

23 years agoSawfish is invoked by the gnome stuff automatically if it exists -
jkh [Tue, 6 Mar 2001 21:46:03 +0000 (21:46 +0000)]
Sawfish is invoked by the gnome stuff automatically if it exists -
we don't need to start it explicitly.

Noted by: "Jose M. Alcaide" <jose@we.lc.ehu.es>

23 years agoSplit out the ata probes in seperate files for each bus type.
sos [Tue, 6 Mar 2001 21:43:46 +0000 (21:43 +0000)]
Split out the ata probes in seperate files for each bus type.

23 years agoIndent the comment about the Alpha palette evilness correctly.
jhb [Tue, 6 Mar 2001 20:36:06 +0000 (20:36 +0000)]
Indent the comment about the Alpha palette evilness correctly.

Noticed by: bde

23 years agoSilence the sizeof warning from struct kinfo_proc
phk [Tue, 6 Mar 2001 18:37:47 +0000 (18:37 +0000)]
Silence the sizeof warning from struct kinfo_proc

23 years agoMake the KASSERTs report the correct function names.
des [Tue, 6 Mar 2001 17:48:26 +0000 (17:48 +0000)]
Make the KASSERTs report the correct function names.
Fix two off-by-one errors that would sometimes cause the final length of
the sbuf to include the trailing zero.

23 years agoo Introduce filesystem-independent POSIX.1e ACL utility routines to
rwatson [Tue, 6 Mar 2001 17:28:24 +0000 (17:28 +0000)]
o Introduce filesystem-independent POSIX.1e ACL utility routines to
  support implementations of ACLs in file systems.  Introduce the
  following new functions:

      vaccess_acl_posix1e()          vaccess() that accepts an ACL
      acl_posix1e_mode_to_perm()     Convert mode bits to ACL rights
      acl_posix1e_mode_to_entry()    Build ACL entry from mode/uid/gid
      acl_posix1e_perms_to_mode()    Generate file mode from ACL
      acl_posix1e_check()            Syntax verification for ACL

  These functions allow a file system to rely on central ACL evaluation
  and syntax checking, as well as providing useful utilities to
  allow ACL-based file systems to generate mode/owner/etc information
  to return via VOP_GETATTR(), and to support file systems that split
  their ACL information over their existing inode storage (mode, uid,
  gid) and extended ACL into extended attributes (additional users,
  groups, ACL mask).

o Add prototypes for exported functions to sys/acl.h, sys/vnode.h

Reviewed by: trustedbsd-discuss, freebsd-arch
Obtained from: TrustedBSD Project

23 years agoA quick and dirty port of libstand to ia64.
dfr [Tue, 6 Mar 2001 16:11:36 +0000 (16:11 +0000)]
A quick and dirty port of libstand to ia64.

23 years agoUse relative paths to find byte_swap_*.S to make it easier to use these
dfr [Tue, 6 Mar 2001 16:08:19 +0000 (16:08 +0000)]
Use relative paths to find byte_swap_*.S to make it easier to use these
from libstand.

23 years agoMake this compile. Still need to write/borrow a working setjmp.
dfr [Tue, 6 Mar 2001 16:07:41 +0000 (16:07 +0000)]
Make this compile. Still need to write/borrow a working setjmp.

23 years agoUse ieee floats on ia64.
dfr [Tue, 6 Mar 2001 16:06:38 +0000 (16:06 +0000)]
Use ieee floats on ia64.

23 years agoAdd a missing splx() to aio_fphysio(). (This change is a no-op in -5.0,
alc [Tue, 6 Mar 2001 15:54:38 +0000 (15:54 +0000)]
Add a missing splx() to aio_fphysio().  (This change is a no-op in -5.0,
 but potentially significant in -4.x.)

Eliminate a pointless parameter to aio_fphysio().

Remove unnecessary casts from aio_fphysio() and aio_physwakeup().

23 years agoPick up the environment variable ${NM} if it exists and use that to list
dfr [Tue, 6 Mar 2001 15:00:32 +0000 (15:00 +0000)]
Pick up the environment variable ${NM} if it exists and use that to list
symbols. This allows lorder to be used more easily in a cross-build
environment.

23 years agoAdd (and document) options for showing only listening or connected sockets.
des [Tue, 6 Mar 2001 13:48:38 +0000 (13:48 +0000)]
Add (and document) options for showing only listening or connected sockets.

23 years agodcphy depends on pci. This repairs the 'ed' driver's ability to be run
peter [Tue, 6 Mar 2001 12:10:44 +0000 (12:10 +0000)]
dcphy depends on pci.  This repairs the 'ed' driver's ability to be run
on isa-only systems without the pci bus code.

23 years agoSpell what was originally "unsigned long" as "unsigned long" again,
dwmalone [Tue, 6 Mar 2001 11:35:04 +0000 (11:35 +0000)]
Spell what was originally "unsigned long" as "unsigned long" again,
to cut down on some compiler warnings caused by lexically mismatched
types.

Reviewed by: bde

23 years agoFix typo: define SX_ASSERT_XLOCKED not SX_ASSERT_XLOCKER in
dwmalone [Tue, 6 Mar 2001 11:06:56 +0000 (11:06 +0000)]
Fix typo: define SX_ASSERT_XLOCKED not SX_ASSERT_XLOCKER in
non-INVARIANTS case.

PR: 25567
Submitted by: nnd@mail.nsk.ru

23 years agoGrammar police.
markm [Tue, 6 Mar 2001 10:19:12 +0000 (10:19 +0000)]
Grammar police.

23 years agoFix markup.
markm [Tue, 6 Mar 2001 10:08:36 +0000 (10:08 +0000)]
Fix markup.

Submitted by: ru

23 years agoA name of the file can change while its id stays the same. So, we have
bp [Tue, 6 Mar 2001 09:59:18 +0000 (09:59 +0000)]
A name of the file can change while its id stays the same. So, we have
to update it as well.

Remove unused function.

23 years agoCosmetic change to the probe printf's
sos [Tue, 6 Mar 2001 09:42:46 +0000 (09:42 +0000)]
Cosmetic change to the probe printf's

23 years agomdoc(7) police: Use Vt for variable types.
ru [Tue, 6 Mar 2001 08:22:10 +0000 (08:22 +0000)]
mdoc(7) police: Use Vt for variable types.

23 years agoDon't psignal() a process from forward_hardclock() but set the appropriate
jhb [Tue, 6 Mar 2001 07:40:51 +0000 (07:40 +0000)]
Don't psignal() a process from forward_hardclock() but set the appropriate
pending flag in p_sflag instead.

23 years ago- Add sx_descr description member to sx lock structure
bmilekic [Tue, 6 Mar 2001 06:17:05 +0000 (06:17 +0000)]
- Add sx_descr description member to sx lock structure
- Add sx_xholder member to sx struct which is used for INVARIANTS-enabled
  assertions. It indicates the thread that presently owns the xlock.
- Add some assertions to the sx lock code that will detect the fatal
  API abuse:
     xlock --> xlock
     xlock --> slock
  which now works thanks to sx_xholder.
  Notice that the remaining two problematic cases:
     slock --> xlock
     slock --> slock (a little less problematic, but still recursion)
  will need to be handled by witness eventually, as they are more
  involved.

Reviewed by: jhb, jake, jasone

23 years ago- Rework pmap_map() to take advantage of direct-mapped segments on
jhb [Tue, 6 Mar 2001 06:06:42 +0000 (06:06 +0000)]
- Rework pmap_map() to take advantage of direct-mapped segments on
  supported architectures such as the alpha.  This allows us to save
  on kernel virtual address space, TLB entries, and (on the ia64) VHPT
  entries.  pmap_map() now modifies the passed in virtual address on
  architectures that do not support direct-mapped segments to point to
  the next available virtual address.  It also returns the actual
  address that the request was mapped to.
- On the IA64 don't use a special zone of PV entries needed for early
  calls to pmap_kenter() during pmap_init().  This gets us in trouble
  because we end up trying to use the zone allocator before it is
  initialized.  Instead, with the pmap_map() change, the number of needed
  PV entries is small enough that we can get by with a static pool that is
  used until pmap_init() is complete.

Submitted by: dfr
Debugging help: peter
Tested by: me

23 years ago#if 0 out a variable only used in #if 0'd code to quiet a warning.
jhb [Tue, 6 Mar 2001 03:07:58 +0000 (03:07 +0000)]
#if 0 out a variable only used in #if 0'd code to quiet a warning.

23 years agoCreate clone'd linux processes as stopped processes at first and don't
jhb [Tue, 6 Mar 2001 02:59:46 +0000 (02:59 +0000)]
Create clone'd linux processes as stopped processes at first and don't
actually make them runnable until after the emulator layer has had a chance
to perform fixups.

23 years agoQuiet a warning due to bus_size_t being a long on the alpha.
jhb [Tue, 6 Mar 2001 02:52:06 +0000 (02:52 +0000)]
Quiet a warning due to bus_size_t being a long on the alpha.

23 years agostyle nit
obrien [Tue, 6 Mar 2001 02:15:38 +0000 (02:15 +0000)]
style nit

23 years agoUse a different example to avoid confusion
gshapiro [Tue, 6 Mar 2001 02:06:02 +0000 (02:06 +0000)]
Use a different example to avoid confusion

23 years agoDo not change the directory permissions for the source area, just the
gshapiro [Tue, 6 Mar 2001 02:01:57 +0000 (02:01 +0000)]
Do not change the directory permissions for the source area, just the
install area.

Noticed by: msmith

23 years agoRestore the -c option, which was accidentally removed from the getopt
des [Tue, 6 Mar 2001 01:58:30 +0000 (01:58 +0000)]
Restore the -c option, which was accidentally removed from the getopt
string two revisions ago.

23 years agoComment style fixes
obrien [Tue, 6 Mar 2001 01:02:23 +0000 (01:02 +0000)]
Comment style fixes

23 years agoSMALL floppy image require miibus device.
nyan [Tue, 6 Mar 2001 00:39:53 +0000 (00:39 +0000)]
SMALL floppy image require miibus device.

23 years agoFix longstanding mouse cursor bug: blinking and eating all CPU while near text
ache [Tue, 6 Mar 2001 00:02:47 +0000 (00:02 +0000)]
Fix longstanding mouse cursor bug: blinking and eating all CPU while near text
cursor.
The reason is: mouse cursor goes into hide/visible loop while text cursor even
not moved.

PR: 25536
Submitted by: David Xu <davidx@viasoft.com.cn>

23 years agoAdjust swi.9 MLINKS to catch up to the new swi API.
jhb [Mon, 5 Mar 2001 23:48:38 +0000 (23:48 +0000)]
Adjust swi.9 MLINKS to catch up to the new swi API.

23 years agoCatch up to the new swi API.
jhb [Mon, 5 Mar 2001 23:47:34 +0000 (23:47 +0000)]
Catch up to the new swi API.

23 years agoThe SRM console gets the red and blue attributes backwards in the VGA
jhb [Mon, 5 Mar 2001 22:43:39 +0000 (22:43 +0000)]
The SRM console gets the red and blue attributes backwards in the VGA
palette.  As a result, the colors on the video console can look rather
weird.  For example, sysinstall on the alpha has a read background.  We
can work around this partially by remapping the colors used by syscons for
the ANSI color escape sequences.  Note that screen savers and anything that
sets the colors explicitly will still get incorrect colors, but programs
such as sysinstall will now use the correct colors.  A more correct fix
would be to actually fix the VGA palette on boot by either swapping all
the red and blue attributes or by hardcoding a standard palette and
overwriting the entire palette.

Requested by: gallatin
Obtained from: NetBSD

23 years agoModify the comments to more closely resemble the English language.
truckman [Mon, 5 Mar 2001 22:40:27 +0000 (22:40 +0000)]
Modify the comments to more closely resemble the English language.

23 years agohandle reserved/unimplemented instruction (opDec) faults
gallatin [Mon, 5 Mar 2001 21:21:01 +0000 (21:21 +0000)]
handle reserved/unimplemented instruction (opDec) faults

This lets us run programs containing newer (eg bwx) instructions
on older (eg EV5 and less) machines.  One win is that we can
now run Acrobat4 on EV4s and EV5s.

Obtained from: NetBSD
Glanced at by: mjacob

23 years agoAlso deny 127.0.0.0/8 going out.
obrien [Mon, 5 Mar 2001 20:51:40 +0000 (20:51 +0000)]
Also deny 127.0.0.0/8 going out.

Submitted by: grimes

23 years agoImplement shared/exclusive locks.
jasone [Mon, 5 Mar 2001 19:59:41 +0000 (19:59 +0000)]
Implement shared/exclusive locks.

Reviewed by: bmilekic, jake, jhb

23 years agoremove warning of experimental nature of heimdal. it's now the same
assar [Mon, 5 Mar 2001 18:54:27 +0000 (18:54 +0000)]
remove warning of experimental nature of heimdal.  it's now the same
version as the one in ports (and the latest at that), except that not
all programs that are in the port get built

23 years agoincrease timeouts for ad_wait_init()
cg [Mon, 5 Mar 2001 17:59:36 +0000 (17:59 +0000)]
increase timeouts for ad_wait_init()

23 years agoAdd MODULE_DEPEND() for the sysvipc modules. This allows the linulator
gallatin [Mon, 5 Mar 2001 17:59:18 +0000 (17:59 +0000)]
Add MODULE_DEPEND() for the sysvipc modules.  This allows the linulator
to load when sysvipc is not in the kernel

Reported by: naddy@mips.inka.de (Christian Weisgerber)

23 years agosync with i386:
gallatin [Mon, 5 Mar 2001 17:56:58 +0000 (17:56 +0000)]
sync with i386:
MFS: bring the consistent `compat_3_brand' support

This should fix the linux-related panics reported
by naddy@mips.inka.de (Christian Weisgerber)

Forgotten by: obrien

23 years agoMFS: don't ignore the result of mixer_init()
cg [Mon, 5 Mar 2001 17:51:28 +0000 (17:51 +0000)]
MFS: don't ignore the result of mixer_init()

23 years agoonly mess with the power state on 5.x
cg [Mon, 5 Mar 2001 17:30:43 +0000 (17:30 +0000)]
only mess with the power state on 5.x

23 years agoMFS: add kobj.h to reduce diffs from -stable
cg [Mon, 5 Mar 2001 16:47:35 +0000 (16:47 +0000)]
MFS: add kobj.h to reduce diffs from -stable

23 years agoMFS: don't pagefault in sndbuf_clear
cg [Mon, 5 Mar 2001 16:45:38 +0000 (16:45 +0000)]
MFS: don't pagefault in sndbuf_clear

23 years agoMFS: #ifdef dynamic sysctl stuff to reduce diffs from -stable
cg [Mon, 5 Mar 2001 16:43:43 +0000 (16:43 +0000)]
MFS: #ifdef dynamic sysctl stuff to reduce diffs from -stable

23 years agoMFS: add '# KOBJ' as the first line of each .m file to reduce diffs from
cg [Mon, 5 Mar 2001 16:42:06 +0000 (16:42 +0000)]
MFS: add '# KOBJ' as the first line of each .m file to reduce diffs from
-stable

23 years agoFix the unaligned access code to handle stores from R31 (zero)
gallatin [Mon, 5 Mar 2001 16:18:23 +0000 (16:18 +0000)]
Fix the unaligned access code to handle stores from R31 (zero)

PR alpha/25535

23 years agoenable per-device sysctls unconditionally
cg [Mon, 5 Mar 2001 15:58:05 +0000 (15:58 +0000)]
enable per-device sysctls unconditionally

23 years agonuke the splstack stuff, snd_mtx* will now be no-ops on 4.x
cg [Mon, 5 Mar 2001 15:49:42 +0000 (15:49 +0000)]
nuke the splstack stuff, snd_mtx* will now be no-ops on 4.x

23 years agoFixed typo.
ru [Mon, 5 Mar 2001 15:37:03 +0000 (15:37 +0000)]
Fixed typo.

23 years agomdoc(7) police: misc formatting fixes.
ru [Mon, 5 Mar 2001 15:33:54 +0000 (15:33 +0000)]
mdoc(7) police: misc formatting fixes.
(This page still needs a lot of work.)

23 years agomdoc(7) police: Nm macro remembers its argument on the first
ru [Mon, 5 Mar 2001 15:14:19 +0000 (15:14 +0000)]
mdoc(7) police: Nm macro remembers its argument on the first
call, punctuation characters should be separated by whitespace.

23 years agomdoc(7) police: misc fixes.
ru [Mon, 5 Mar 2001 14:25:41 +0000 (14:25 +0000)]
mdoc(7) police: misc fixes.

23 years agoFix ttynames generation broken with strlcat
ache [Mon, 5 Mar 2001 14:10:15 +0000 (14:10 +0000)]
Fix ttynames generation broken with strlcat

PR: 25541
Submitted by: Nickolay Dudorov <nnd@mail.nsk.ru>

23 years agomdoc(7) police: misc markup fixes.
ru [Mon, 5 Mar 2001 14:09:45 +0000 (14:09 +0000)]
mdoc(7) police: misc markup fixes.

23 years agoChange types of "numeric" function to match that of a qsort comparison
dwmalone [Mon, 5 Mar 2001 12:13:12 +0000 (12:13 +0000)]
Change types of "numeric" function to match that of a qsort comparison
function.

23 years agoUse the right format string for printing ULONG_MAX.
dwmalone [Mon, 5 Mar 2001 11:58:12 +0000 (11:58 +0000)]
Use the right format string for printing ULONG_MAX.

23 years agoCompare initscr to NULL not ERR. Add FreeBSD tag.
dwmalone [Mon, 5 Mar 2001 11:54:27 +0000 (11:54 +0000)]
Compare initscr to NULL not ERR. Add FreeBSD tag.

PR: 19044

23 years ago*Sigh*. What I did without this, I have no idea.
markm [Mon, 5 Mar 2001 11:18:35 +0000 (11:18 +0000)]
*Sigh*. What I did without this, I have no idea.

23 years agoFix style nit.
obrien [Mon, 5 Mar 2001 11:10:12 +0000 (11:10 +0000)]
Fix style nit.

23 years agoFix style breakage.
obrien [Mon, 5 Mar 2001 11:06:18 +0000 (11:06 +0000)]
Fix style breakage.

23 years agoFix style that got corrupted.
obrien [Mon, 5 Mar 2001 10:39:03 +0000 (10:39 +0000)]
Fix style that got corrupted.

23 years agoFix FreeBSD id style breakage from rev 1.17
obrien [Mon, 5 Mar 2001 10:30:12 +0000 (10:30 +0000)]
Fix FreeBSD id style breakage from rev 1.17

23 years agoUse our standard .c rcsid format.
obrien [Mon, 5 Mar 2001 10:21:05 +0000 (10:21 +0000)]
Use our standard .c rcsid format.

23 years agoFix copyright breakage in rev 1.2.
obrien [Mon, 5 Mar 2001 10:18:15 +0000 (10:18 +0000)]
Fix copyright breakage in rev 1.2.
We *cannot* remove clause #4 from the Univ of California's license.

23 years ago* Add two requested features, source'ing of /etc/mergemaster.rc, and
dougb [Mon, 5 Mar 2001 10:13:21 +0000 (10:13 +0000)]
* Add two requested features, source'ing of /etc/mergemaster.rc, and
  asking the user to actually run the recommended commands related
  to installation of files such as aliases or login.conf.

* Return to using grep for CVS $Id comparison. Using ident caused too
  many problems for people with local CVS/RCS tags in their stuff.
  Attempt to make portability a little easier to maintain in spite of
  this change by defining the name of the tag to search for. This
  is a slightly different change that solves the problem in the PR.

PR: bin/24564
Submitted by: Tony Finch <dot@dotat.at>