Commit graph

76363 commits

Author SHA1 Message Date
Garance A Drosehn 54032d1198 Add a new command to 'lpc' called 'setstatus', which would be used to
change the status message of a print queue.  This includes some minor
changes to the upstat() routine, so that error messages are not printed
while seteuid(priv-user).

Reviewed by:	freebsd-audit and freebsd-print@bostonradio.org
MFC after:	10 days
2002-06-15 22:51:58 +00:00
Maxime Henrion 4ce86ffd17 nmount'ify unionfs further by using separate options instead
of passing a flags mount options.  This removes the include of
sys/fs/unionfs/union.h in mount_unionfs as it should be.

Reviewed by:	phk
2002-06-15 22:48:14 +00:00
Maxime Henrion c3210a83c0 Convert UDF to nmount.
Reviewed by:	scottl
2002-06-15 22:40:13 +00:00
Poul-Henning Kamp 58f3c42e6d mdcreate_vnode() isn't correctly clearing things out of the linked
list if the file is of 0 size or mdsetcred() fails.

Submitted by:	Martin Faxer <gmh003532@brfmasthugget.se>
2002-06-15 19:18:43 +00:00
Alan Cox 319490fb7b o Remove GIANT_REQUIRED from useracc() and vsunlock(). Neither
vm_map_check_protection() nor vm_map_unwire() expect Giant
   to be held.
2002-06-15 19:10:19 +00:00
Hajimu UMEMOTO c4a0032fe3 Do not issue deprecated ioctl.
Obtained from:	KAME
MFC after:	2 weeks
2002-06-15 18:56:32 +00:00
Gordon Tetlow 576ed0de29 Make sendmail really not start when sendmail_enable="NONE"
Submitted by:	Dennis Kristensen <snicki@snicki.dk>
Reviewed by:	Mike Makonnen <makonnen@pacbell.net>
2002-06-15 18:39:05 +00:00
Hajimu UMEMOTO 3b46313d9a Don't install obsolete gifconfig(8). Please use ifconfig(8) instead. 2002-06-15 18:04:51 +00:00
Hajimu UMEMOTO 23d84069ed Don't install obsolete prefix(8). We now have `ifconfig eui64'. 2002-06-15 15:41:44 +00:00
Hajimu UMEMOTO 331a2db8a9 Add eui64 option which fills interface index (lowermost 64bit of
an IPv6 address) automatically.
This should obsolete prefix(8).

Obtained from:	NetBSD
MFC after:	2 weeks
2002-06-15 15:35:24 +00:00
Juli Mallett 9ed3737fca Remove local prototype for main(). 2002-06-15 11:28:09 +00:00
Juli Mallett cf0def9349 Protoize. Remove un-needed cast to char in switch of getopt(3)'s return value.
FBSDID.
2002-06-15 11:26:25 +00:00
Juli Mallett 2c69ee9b45 Remove <sys/types> where we use <sys/param> already.
protoize.
2002-06-15 11:03:28 +00:00
Tim J. Robbins e4bbbf073b Remove obsolescent -tabstop option from Synopsis (it was already removed
from the usage() message). Document what the -t option does in a more
standard place. Add a standard Diagnostics section.
2002-06-15 10:52:20 +00:00
Tim J. Robbins ec85e6a06c Allow <blank>s to be used to separate tab stop positions with the -t
argument, not just ASCII space characters and commas. Don't count
non-printing characters when determining column position.
2002-06-15 10:16:39 +00:00
Mike Heffner 3ba0209ecf Update for lukemftp-1.6-beta2. 2002-06-15 09:42:17 +00:00
Mike Heffner 50d3977d34 This commit was generated by cvs2svn to compensate for changes in r98247,
which included commits to RCS files with non-trunk default branches.
2002-06-15 09:40:37 +00:00
Mike Heffner 2e0951ee2d Import lukemftp-1.6-beta2. 2002-06-15 09:40:37 +00:00
Tim J. Robbins fc3b416102 Sort sections. 2002-06-15 08:41:12 +00:00
Tim J. Robbins a1a27143bd fstat() returns information about the target of any symbolic link that
was opened, not the link itself. Remove dead code.
2002-06-15 08:31:19 +00:00
Brian Somers 3627fe880c A better prinflike fix... 2002-06-15 08:03:59 +00:00
Brian Somers 10be78d3ae Remove whitespace at the end of lines. 2002-06-15 08:03:30 +00:00
Tim J. Robbins 232a0ff51d Improve parsing of character and equivalence classes:
[:*] and [=*] are parsed as `infinitely many repetitions of :' (or *)
instead of literal characters (SUSv3)
2002-06-15 07:38:27 +00:00
Chris Costello 5f9c048ce7 o Move more information from BUGS into SECURITY CONSIDERATIONS and
condense the redundant bits.
o Provide an example for using snprintf over sprintf.  This may be
  supplemented with an asprintf() example soon.

Sponsored by:	DARPA, NAI Labs
2002-06-15 06:00:56 +00:00
Alan Cox e30616dbfe o Remove the acquisition and release of Giant from munlock().
Reviewed by:	tegge
2002-06-15 05:05:04 +00:00
Brian Somers 3db951841c Fix a printflike format error 2002-06-15 01:36:36 +00:00
Brian Somers 61fe3f63bc Remove a forgotten diagnostic 2002-06-15 01:35:03 +00:00
Giorgos Keramidas b6fa516a8e Add missing verb. 2002-06-14 22:15:22 +00:00
Matt Jacob 3e104c7a84 Note that sio is required.
PR:		39305
Submitted by:	Michael Hogsett <hogsett@csl.sri.com>
MFC after:	1 week
2002-06-14 20:20:13 +00:00
Maxime Henrion fe93750656 Change vfs_copyopt() so that the length argument passed to it
must be the exact same size as the mount option.  This makes
vfs_copyopt() much more useful.
2002-06-14 20:04:21 +00:00
Garrett Wollman 250917547b Implement the <sys/statvfs.h> header. Related changes to <sys/types.h>
are still awaiting a worldstone.  Functions and their declarations to
come later.
2002-06-14 19:37:06 +00:00
Andrew R. Reiter fe1c49fbba - Chainsaw the storage pool code. This was being used by a bunch of code
within the HARP atm stack and the hea and hfa device drivers, but since
  all of these systems were changed to use UMA zones, there is no use for
  the api any longer.
2002-06-14 19:31:07 +00:00
Alan Cox 1d7cf06c8c o Use vm_map_wire() and vm_map_unwire() in place of vm_map_pageable() and
vm_map_user_pageable().
 o Remove vm_map_pageable() and vm_map_user_pageable().
 o Remove vm_map_clear_recursive() and vm_map_set_recursive().  (They were
   only used by vm_map_pageable() and vm_map_user_pageable().)

Reviewed by:	tegge
2002-06-14 18:21:01 +00:00
Andrew R. Reiter b6037a7953 - Turn the hea and hfa HARP storage pools into UMA zones and insert
the necesary uma_zcreate() and uma_zdestroy calls into module loading
  handler and the device attach handling.
- Change the related HARP netatm code to use UMA zone functions when
  dealing with the zones that were formerly the ATM interface (hea, hfa)
  storage pools.
- Have atm_physif_freenifs() now get passed an uma_zone_t so that we can
  properly free the allocated NIF's back to their zone.

This should be the last commit to remove any code that makes use of the
netatm storage pool api.  I will be removing the api code within the near
future.

Reviewed by:	mdodd
2002-06-14 16:59:38 +00:00
Tim J. Robbins dc20d4b9d4 Move the #include and #define's to the top of the file. 2002-06-14 15:56:52 +00:00
Tim J. Robbins 4efc23dabf Bump the size of the equivalence set to NCHARS; this file was left out
of a previous commit implementing equivalence classes.
2002-06-14 15:53:38 +00:00
Nick Sayer dc957e3d2b Add an entry for the US Robotics 2415.
PR:		i386/38879
Submitted by:	jordi_yc@lycos.es
MFC after:	1 week
2002-06-14 15:32:01 +00:00
Tim J. Robbins 2533f1e42a Use the Cm macro for the clear, init, reset and longname operands. 2002-06-14 15:16:03 +00:00
Tim J. Robbins e6da78f41d Adjust the exit status to conform to SUSv3 and document the fact it takes
multiple `argument' operands.
2002-06-14 15:08:05 +00:00
Tim J. Robbins 6eb0710e98 Sort sections. Avoid using "The -? option" at the start of option descriptions. 2002-06-14 10:11:41 +00:00
Juli Mallett ca2be2ff45 Use an usage() rather than doing the fprintf inside option parsing. 2002-06-14 09:54:48 +00:00
Tim J. Robbins e73c3d279c Don't treat the trailing ']' of an equivalence class expression as a
character in the set. tr -d '[=a=]' was deleting ]'s as well as a's.
Noticed by the textutils test suite.
2002-06-14 09:53:11 +00:00
Tim J. Robbins dfac4f3695 Add the P1003.1-2001 -C option which complements the set of characters
(not byte values) specified by the first string argument.
2002-06-14 08:58:30 +00:00
Robert Watson 8973ba1b6e Reserve two constants for managing socket MAC labels via socket options. 2002-06-14 08:49:04 +00:00
Robert Watson 9d697bebc8 Whitespaec consistency. 2002-06-14 08:46:07 +00:00
Jeffrey Hsu 3ce144ea88 Notify functions can destroy the pcb, so they have to return an
indication of whether this happenned so the calling function
knows whether or not to unlock the pcb.

Submitted by:	Jennifer Yang (yangjihui@yahoo.com)
Bug reported by:  Sid Carter (sidcarter@symonds.net)
2002-06-14 08:35:21 +00:00
Tim J. Robbins 85f6c317ea Implement support for equivalence classes ([=e=]) when the mapping is
one-to-one (SUSv3)
2002-06-14 07:37:08 +00:00
Robert Watson fa3b8ffb32 Add a comment about how we should use vn_open() here instead of directly
invoking VOP_OPEN().  This would reduce code redundancy with the rest
of the kernel, and also is required for MAC to work properly.
2002-06-14 07:24:01 +00:00
Warner Losh a86d3e445e I'm keeping an eye on xten 2002-06-14 06:59:49 +00:00
Warner Losh 232ff1c787 document hw.pcic.ignore_pci 2002-06-14 06:56:35 +00:00