Commit Graph

133889 Commits

Author SHA1 Message Date
jmmv bc6cd262e3 Add the -r flag to groupadd; it can be used to specify a gid range in which
new groups should be created.  This is similar to useradd's -r flag.

Closes my own PR bin/22791.  Patch by URA Hiroshi with some minor changes
by me.

No objections in tech-userlevel@ for multiple days.
2005-02-05 10:43:14 +00:00
wiz 0db1f74f14 Teach groff about NetBSD 2.0.1 too. 2005-02-05 00:36:26 +00:00
wiz 9be5d1e533 Teach groff about NetBSD 1.6.3 (used by njs(4), noted by tron). 2005-02-05 00:32:38 +00:00
simonb 61064aebe6 De-register. 2005-02-05 00:13:34 +00:00
jmc c0f021e9fe Put this back to a #define after he patched sys/exec_aout.h. Otherwise errno.h
has to be pulled in for ENOEXEC definition.
2005-02-04 22:45:05 +00:00
he d9dbfebb70 If cpu_exec_aout_makecmds is a macro, don't declare a prototype
with the same name.  Fixes build problem for the powerpc ports,
since those define cpu_exec_aout_makecmds to ENOEXEC.
2005-02-04 22:35:02 +00:00
jmc 2f6ced07f5 Do the same thing sparc64 does and redefine sbus_promaddr_to_handle to a static
inline'd function. This way prototypes for it still work in the master
dev/sbusvar.h header. Found when the recent de-_P'ing occured
2005-02-04 22:20:55 +00:00
fvdl 6bdba8ddcd The bootinfo_wedge structure must be packed, or the 32bit alignments
used by the bootloader don't match the amd64 kernel.
2005-02-04 22:03:53 +00:00
joff 74f7c604df Make cpu_exec_aout_makecmds() a static inline instead of just #define'ed to
ENOEXEC.  Broken on ARM build from the de-__P'ing, this is the fix.
2005-02-04 19:07:26 +00:00
tnozaki d65a4ead10 fix invalid range. 2005-02-04 18:35:45 +00:00
drochner dfc9e068c7 switch to J.T.Conklin's optimized str* functions
(submitted per PR i386/25263)
2005-02-04 18:12:52 +00:00
perry c3f3d85961 Restore the html directories. They are indeed functional. 2005-02-04 17:10:40 +00:00
perry 7bcd7064be de-__P 2005-02-04 16:14:21 +00:00
perry 8e902846e9 remove a spurious space in a function declaration 2005-02-04 16:13:14 +00:00
perry 9f5c37981e de-__P, slightly KNF, and make a bit of the formatting more consistent. 2005-02-04 16:12:13 +00:00
perry e738b65d24 de-__P, ANSIfy function declarations 2005-02-04 15:52:08 +00:00
perry d806a865f6 de-__P 2005-02-04 15:27:44 +00:00
kanaoka 1054d5cc16 - Deal with status properly,if BMCR_ISO is set.
Fixes kern/29113.
2005-02-04 15:17:31 +00:00
he dcdc758deb Introduce a few more temporary variables, in order to avoid an ugly
double cast in the pam_get_item() invocations.  The double cast
triggered a "discards qualifier" warning/error from gcc 2.95.3, while
trying to fix that by adding "cost" to the "void *" cast produced
a similar warning from gcc 3.3.  This now compiles without warning
with both compilers.

Approved by christos
2005-02-04 15:11:35 +00:00
wiz 195aff13a9 Remove /usr/share/man/html* directories. They have been there,
empty, for 3 years, and there was no public plan on how to fill
them in all that time.  Let's re-add them when they have a purpose.
2005-02-04 15:07:54 +00:00
wiz cc7ac0e40f Use Aq instead of \*[Lt]\*[Gt]. 2005-02-04 15:01:41 +00:00
wiz 9e0eb6c274 Minor macro usage improvements. 2005-02-04 14:58:59 +00:00
skrll 015f297666 Modernise these to use GCC __builtin_* functions and types.
Also provide a (protected) va_copy.
2005-02-04 12:15:22 +00:00
drochner cbb74e46c2 make this build with WARNS=2 2005-02-04 12:13:18 +00:00
jlam a0ff816c39 Teach pkg_add(1) and pkg_delete(1) to pass PKG_METADATA_DIR and
PKG_REFCOUNT_DBDIR in the environment when running the +* scripts.
PKG_METADATA_DIR is the location of the +* files after the package is
registered.  PKG_REFCOUNT_DBDIR is the location of the reference counts
database directory.  If PKG_REFCOUNT_DBDIR is left unset, then it
defaults the the location of the package database directory with
".refcount" appended to the path, e.g. /var/db/pkg.refcount.

pkgviews users should explicitly set PKG_REFCOUNT_DBDIR in the shell
environment to ensure that all packages will use the same refcount
database.

These changes allow the +INSTALL and +DEINSTALL script to keep state
in +* files within ${PKG_METADATA_DIR}, and to store reference counts
in ${PKG_REFCOUNT_DBDIR} to handle usage of resources outside of
${LOCALBASE}.

Bump the pkg_install version to 20050204.
2005-02-04 09:03:02 +00:00
joff 32262aa8f2 Support a wsdisplay(4) attachment on a tslcd 2005-02-04 06:02:36 +00:00
jmc 89f2c62a84 Add opt_scsipi_debug.h to list since compat_linux pulls in scsipi now for sg
driver
2005-02-04 05:59:51 +00:00
joff 9882b0c41e Structure member misnamed. "rows" should be "cols" 2005-02-04 05:59:27 +00:00
jmc 672ed23467 vfr.c is still needed on the trunk or GENERIC doesn't compile... 2005-02-04 05:59:23 +00:00
joff 5cc20bed82 Support wsdisplay(4) attachments of hd44780 LCD controllers 2005-02-04 05:58:44 +00:00
joff 7d0231bc7f Even though we don't use wscons on cobalt, still bring in dev/wscons/files.wscons
so we can get various opt_*.h generated.
2005-02-04 05:50:38 +00:00
joff 93f6c1c28a keysyms off-by-one in numbering 2005-02-04 05:48:12 +00:00
perry 18db93c7f6 de-__P 2005-02-04 02:10:35 +00:00
matt f57592cd95 Don't write hardlinked file contents in sv4cpio mode. 2005-02-04 00:38:15 +00:00
perry b02c92c5bf ANSIfy function declarations 2005-02-03 23:50:33 +00:00
jmc 3fed402d23 Provide lint wrappers around the va_* defs like other ports do so this can
make it through lint (was dying in libpam)
2005-02-03 23:45:37 +00:00
perry 870f206724 ANSIfy function declarations 2005-02-03 23:39:32 +00:00
perry dcf288607c ANSIfy function declarations 2005-02-03 23:25:22 +00:00
perry d5c8fcf31c ANSIfy function declarations 2005-02-03 23:13:20 +00:00
perry 71ef63c98f ANSIify function declarations 2005-02-03 23:08:43 +00:00
perry 402f8626b1 ANSIfy function declarations 2005-02-03 22:51:50 +00:00
perry 90789ef318 some ANSIfying, and remove an unsightly tab 2005-02-03 22:45:28 +00:00
perry babe6a957c KNF + slightly ANSIfy 2005-02-03 22:43:34 +00:00
dsl 3fd6225eec Pull optimised code from memcpy.S
Maybe bcopy can be killed one day...
2005-02-03 22:35:11 +00:00
dsl 2c19ca7c2b Bring code in from obsolesent bcopy.S
Optimise to avoid mis-predicted braches and 'rep movsb' for small %cx.
2005-02-03 22:31:44 +00:00
dsl 781e1351cd A faster implementation.
'rep stos' is slow to setup on modern processors, so don't use it to
align the transfer.
Also not that 8 byte alignment is faster on Intel processors
2005-02-03 22:05:01 +00:00
perry 449436c385 move a prototype back inside an #ifdef -- my GENERIC kernels worked
fine with it in the new place, but compiling another kernel found that
it wasn't a good idea.
2005-02-03 21:54:49 +00:00
bouyer 52a37d39ea vfr.c doesn't exists any more. 2005-02-03 21:38:59 +00:00
perry 35adf4031a de-__P, partially ANSIfy 2005-02-03 21:35:44 +00:00
perry 32a519cece de-__P, partially ANSIfy 2005-02-03 21:08:57 +00:00