]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoMinor changes:
Will Andrews [Sun, 24 Mar 2002 03:07:07 +0000 (03:07 +0000)]
Minor changes:
 [1] Support the Sony VAIO Jogdial in moused(8).
 [2] Modify spic(4) to support additional Sony VAIO models.

Submitted by: [1] Juriy Goloveshkin <j@gu.ru>,
[2] Akira Funahashi <funa@funa.org>
Tested by: cjh, jim, Jerry A! <jerry@thehutt.org>
Approved by: nsayer
MFC after: 2 weeks

22 years agoRevamp the busdma implementation a bit:
Thomas Moestl [Sun, 24 Mar 2002 02:50:53 +0000 (02:50 +0000)]
Revamp the busdma implementation a bit:
- change the IOMMU support code so that it supports overcommittting the
  available DVMA memory, while still allocating as lazily as possible.
  This is achieved by limiting the preallocation, and deferring the
  allocation to map load time when it fails. In the latter case, the
  DVMA memory reserved for unloaded maps can be stolen to free up enough
  memory for loading a map.
- allow NULL settings in the method tables, and search the parent tags
  until an appropriate implementation is found. This allows to remove some
  kluges in the old implementation.

22 years agoCorrect a typo.
Dima Dorfman [Sun, 24 Mar 2002 02:34:59 +0000 (02:34 +0000)]
Correct a typo.

PR: 36214
Submitted by: Nagy Attila <bra@fsn.hu>

22 years agoFix sparc64_bus_mem_unmap() to pass the right address to kmem_free().
Thomas Moestl [Sun, 24 Mar 2002 02:33:09 +0000 (02:33 +0000)]
Fix sparc64_bus_mem_unmap() to pass the right address to kmem_free().

22 years agoMake the OpenFirmware interrupt mapping code more generic, to reduce
Thomas Moestl [Sun, 24 Mar 2002 02:11:06 +0000 (02:11 +0000)]
Make the OpenFirmware interrupt mapping code more generic, to reduce
the bus-dependent code and to be able to support more systems. The core
of the new code is mostly obtained from NetBSD.
Kluge the interrupt routing methods of the psycho and apb drivers so
that an intline of 0 can be handled for now; real routing is still not
possible (all intline registers are preinitialized instead); this will
require a sparc64-specific adaption of the driver for generic PCI-PCI
bridges with a custom routing method to work right.

22 years agoMap the device memory belonging to resources of type SYS_RES_MEMORY into
Thomas Moestl [Sun, 24 Mar 2002 01:51:29 +0000 (01:51 +0000)]
Map the device memory belonging to resources of type SYS_RES_MEMORY into
KVA upon activation so that rman_get_virtual() works as expected.

22 years agoFix a style(9) error. Put the vendor version control string back in.
Crist J. Clark [Sun, 24 Mar 2002 01:41:11 +0000 (01:41 +0000)]
Fix a style(9) error. Put the vendor version control string back in.
I nuked it when I added the $FreeBSD$ tag.

22 years agoMissed a __P in a .x file, remove it anyway
Warner Losh [Sun, 24 Mar 2002 01:11:49 +0000 (01:11 +0000)]
Missed a __P in a .x file, remove it anyway

22 years agoo remove __P
Warner Losh [Sun, 24 Mar 2002 01:09:35 +0000 (01:09 +0000)]
o remove __P

22 years agoBe a bit more verbose. "modtime" means nothing.
Giorgos Keramidas [Sun, 24 Mar 2002 00:56:38 +0000 (00:56 +0000)]
Be a bit more verbose.  "modtime" means nothing.
"modification time" is a lot better.

MFC after:      3 days

22 years agoGrammar fix: "When at least one of the fields .. matches ...".
Giorgos Keramidas [Sun, 24 Mar 2002 00:48:07 +0000 (00:48 +0000)]
Grammar fix:  "When at least one of the fields .. matches ...".

MFC after:      3 days

22 years agoFixed bad wording/spelling in few paragraphs.
Chad David [Sun, 24 Mar 2002 00:31:38 +0000 (00:31 +0000)]
Fixed bad wording/spelling in few paragraphs.

22 years agoMaxtor Personal Storage 3000XT (Firewire) hangs upon
Hidetoshi Shimokawa [Sun, 24 Mar 2002 00:17:39 +0000 (00:17 +0000)]
Maxtor Personal Storage 3000XT (Firewire) hangs upon
serial number probing.

MFC after: 1 week

22 years agounifdef __STDC__
Warner Losh [Sat, 23 Mar 2002 23:37:07 +0000 (23:37 +0000)]
unifdef __STDC__

22 years agoo unifdef -D__STDC__
Warner Losh [Sat, 23 Mar 2002 23:35:42 +0000 (23:35 +0000)]
o unifdef -D__STDC__
o use ansi function definitions
o remove OLDSUN

22 years agoo unifdef -D__STDC__
Warner Losh [Sat, 23 Mar 2002 23:30:30 +0000 (23:30 +0000)]
o unifdef -D__STDC__
o remove badly bit-rotted compat file that likely won't work on the systems
  it purports to support.

22 years agounifdef -D__STDC__
Warner Losh [Sat, 23 Mar 2002 23:19:00 +0000 (23:19 +0000)]
unifdef -D__STDC__

22 years agoRemove a duplicate with a typo.
Jens Schweikhardt [Sat, 23 Mar 2002 22:10:02 +0000 (22:10 +0000)]
Remove a duplicate with a typo.

MFC after: 3 days

22 years agoAdd code to print the fault virtual address for uncorrectable DMA errors
Thomas Moestl [Sat, 23 Mar 2002 20:42:23 +0000 (20:42 +0000)]
Add code to print the fault virtual address for uncorrectable DMA errors
caused by IOMMU misses to aid debugging. This will only work on
UltraSPARC-IIi and IIe.

22 years agoDe-__P(), de-K&R, remove superfluous comments and prototypes, some
Thomas Moestl [Sat, 23 Mar 2002 20:27:32 +0000 (20:27 +0000)]
De-__P(), de-K&R, remove superfluous comments and prototypes, some
style fixes. No functional changes.

22 years agoDe-K&R.
Thomas Moestl [Sat, 23 Mar 2002 20:22:19 +0000 (20:22 +0000)]
De-K&R.

22 years agoFix syscall ktraceing.
Thomas Moestl [Sat, 23 Mar 2002 20:11:38 +0000 (20:11 +0000)]
Fix syscall ktraceing.

22 years agoMake this compile without options DDB; use intr_disable() instead of
Thomas Moestl [Sat, 23 Mar 2002 20:09:48 +0000 (20:09 +0000)]
Make this compile without options DDB; use intr_disable() instead of
fiddling with PSTATE_IE manually.

22 years agoUpdate comments. We uniformly use __FBSDID in libc now.
David E. O'Brien [Sat, 23 Mar 2002 20:08:00 +0000 (20:08 +0000)]
Update comments.  We uniformly use __FBSDID in libc now.

22 years agoDecruft some #if 0'ed code.
Thomas Moestl [Sat, 23 Mar 2002 20:05:42 +0000 (20:05 +0000)]
Decruft some #if 0'ed code.

22 years agoAdd PCIfunctions 2 and 3 of the PCIO2 chip to the intpin quirk table.
Thomas Moestl [Sat, 23 Mar 2002 20:04:10 +0000 (20:04 +0000)]
Add PCIfunctions 2 and 3 of the PCIO2 chip to the intpin quirk table.

22 years agoIn some cases, RX descriptors that are signalled to have been completed
Thomas Moestl [Sat, 23 Mar 2002 19:43:15 +0000 (19:43 +0000)]
In some cases, RX descriptors that are signalled to have been completed
by the hardware are still marked as owned. Handle this by installing a
timeout handler to collect this descriptor to avoid having received
packets remain unhandled until the next one arrives.

22 years agoAdd option -n to i386 boot2 to disallow boot interruption by keypress.
Pierre Beyssac [Sat, 23 Mar 2002 19:40:27 +0000 (19:40 +0000)]
Add option -n to i386 boot2 to disallow boot interruption by keypress.

PR: i386/36016
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Reviewed by: rnordier
MFC after: 1 week

22 years agoAssorted fixes:
Thomas Moestl [Sat, 23 Mar 2002 19:37:11 +0000 (19:37 +0000)]
Assorted fixes:
- remove some useless code from the status change handler that was intended
  to enable the the MII drivers for external phys; this is already done
  during interface initialization, and the deleted code made some
  assumptions about phy addresses that do not seem to hold true on newer
  cards. This should get at least one of the two hmes of newer Netra t1
  machines working.
- correct the interrupt resource allocation
- bump the number of RX descriptors, lower values cause promblems on some
  machines

22 years agoWe keep moduli(5) in /etc/ssh, not /etc.
Dag-Erling Smørgrav [Sat, 23 Mar 2002 19:26:21 +0000 (19:26 +0000)]
We keep moduli(5) in /etc/ssh, not /etc.

22 years agoForgot viapm in the NOTES. Fixed.
Nicolas Souchu [Sat, 23 Mar 2002 18:39:54 +0000 (18:39 +0000)]
Forgot viapm in the NOTES. Fixed.

22 years agosmbus_alloc_bus is not part of the smbus interface anymore
Nicolas Souchu [Sat, 23 Mar 2002 18:27:16 +0000 (18:27 +0000)]
smbus_alloc_bus is not part of the smbus interface anymore

22 years agoW/o __P, the internal declarations will all fit on one line.
David E. O'Brien [Sat, 23 Mar 2002 18:22:40 +0000 (18:22 +0000)]
W/o __P, the internal declarations will all fit on one line.

22 years agoAutomatically detect devices that do not support READ(6)/WRITE(6)
Hidetoshi Shimokawa [Sat, 23 Mar 2002 18:18:02 +0000 (18:18 +0000)]
Automatically detect devices that do not support READ(6)/WRITE(6)
and upgrade to using 10 byte cdbs.

As far as I tested, this works efficiently for most of the
SBP-II/Firewire devices but most of the umass devices still need
ad-hoc work around because umass-sim doesn't return any SCSI errors.

A sysctl nob is also added for the last resort.
I hope we don't need DA_Q_NO_6_BYTE quirks anymore.

Reviewed by: gibbs
MFC after: 1 week

22 years agoStyle nit.
David E. O'Brien [Sat, 23 Mar 2002 18:14:20 +0000 (18:14 +0000)]
Style nit.

22 years agoRemove prototype, no other crt1.c has or needs it.
David E. O'Brien [Sat, 23 Mar 2002 18:14:04 +0000 (18:14 +0000)]
Remove prototype, no other crt1.c has or needs it.

22 years agoStyle(9) local vars after 'register' removal.
David E. O'Brien [Sat, 23 Mar 2002 18:10:59 +0000 (18:10 +0000)]
Style(9) local vars after 'register' removal.

Requested by: bde

22 years agoInstall headers with -C. Ideally, these Makefiles should not need to
Dag-Erling Smørgrav [Sat, 23 Mar 2002 18:01:01 +0000 (18:01 +0000)]
Install headers with -C.  Ideally, these Makefiles should not need to
override the beforeinstall target at all, but this has proven difficult
to achieve.

22 years agoRemove these abortive MIPS bits.
David E. O'Brien [Sat, 23 Mar 2002 17:55:32 +0000 (17:55 +0000)]
Remove these abortive MIPS bits.

22 years agoBreath deep and take __P out of the system include files.
Warner Losh [Sat, 23 Mar 2002 17:24:55 +0000 (17:24 +0000)]
Breath deep and take __P out of the system include files.

# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.

22 years agoGDB 4.18 does not use the mmalloc library by default. So GC a little.
David E. O'Brien [Sat, 23 Mar 2002 17:15:49 +0000 (17:15 +0000)]
GDB 4.18 does not use the mmalloc library by default.  So GC a little.

22 years agoMachine must be non-static for COMPAT_43 to compile. This is used in bsd/os
Jake Burkholder [Sat, 23 Mar 2002 17:13:45 +0000 (17:13 +0000)]
Machine must be non-static for COMPAT_43 to compile.  This is used in bsd/os
1.x compatibility code, which I'm sure we all use every day.

22 years agoOops. Should have said
Jake Burkholder [Sat, 23 Mar 2002 17:06:15 +0000 (17:06 +0000)]
Oops.  Should have said

Submitted by: tmm

22 years agoCleanup the trace back routine slightly. Print the leaf return value so
Jake Burkholder [Sat, 23 Mar 2002 17:04:41 +0000 (17:04 +0000)]
Cleanup the trace back routine slightly.  Print the leaf return value so
that traps inside of leaf functions are less confusing.  Add a function
to print a non-symbolic trace of the user stack.

22 years agoSync with other arches; add bloat.
Jake Burkholder [Sat, 23 Mar 2002 16:55:37 +0000 (16:55 +0000)]
Sync with other arches; add bloat.

22 years agoRevert last commit, it came too late to save alpha :-(
Poul-Henning Kamp [Sat, 23 Mar 2002 16:54:19 +0000 (16:54 +0000)]
Revert last commit, it came too late to save alpha :-(

22 years agoHide the ugly d_boot[01] from the kernel.
Poul-Henning Kamp [Sat, 23 Mar 2002 16:03:13 +0000 (16:03 +0000)]
Hide the ugly d_boot[01] from the kernel.

22 years agoFixed some style bugs in the removal of __P(()). The main ones were
Bruce Evans [Sat, 23 Mar 2002 16:01:49 +0000 (16:01 +0000)]
Fixed some style bugs in the removal of __P(()).  The main ones were
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses.  Switch to KNF
formatting and/or rewrap the whole prototype in some cases.

22 years agoMajor rework of the iicbus/smbus framework:
Nicolas Souchu [Sat, 23 Mar 2002 15:49:15 +0000 (15:49 +0000)]
Major rework of the iicbus/smbus framework:

- VIA chipset SMBus controllers added
- alpm driver updated
- Support for dynamic modules added
- bktr FreeBSD smbus updated but not tested
- cleanup

22 years agoVery simple fixes; WARNS and ANSIfy. Remove GCC-specific options from
Mark Murray [Sat, 23 Mar 2002 15:43:11 +0000 (15:43 +0000)]
Very simple fixes; WARNS and ANSIfy. Remove GCC-specific options from
Makefile.

22 years agoRestore the original copyright
Nicolas Souchu [Sat, 23 Mar 2002 15:36:13 +0000 (15:36 +0000)]
Restore the original copyright

22 years agoviapm is the driver for VIA SMBus controllers
Nicolas Souchu [Sat, 23 Mar 2002 15:26:20 +0000 (15:26 +0000)]
viapm is the driver for VIA SMBus controllers

22 years agoMinor whitespace nit.
Mark Murray [Sat, 23 Mar 2002 15:20:45 +0000 (15:20 +0000)]
Minor whitespace nit.

22 years agoFixed some style bugs in the removal of __P(()). The main ones were
Bruce Evans [Sat, 23 Mar 2002 15:09:35 +0000 (15:09 +0000)]
Fixed some style bugs in the removal of __P(()).  The main ones were
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses.  Switch to KNF
formatting and/or rewrap the whole prototype in some cases.

22 years agoFixed some style bugs in the removal of __P(()). The main ones were
Bruce Evans [Sat, 23 Mar 2002 14:27:06 +0000 (14:27 +0000)]
Fixed some style bugs in the removal of __P(()).  The main ones were
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses.  Switch to KNF
formatting and/or rewrap the whole prototype in some cases.

22 years agoMoved $FreeBSD$ to the correct place.
Bruce Evans [Sat, 23 Mar 2002 13:48:10 +0000 (13:48 +0000)]
Moved $FreeBSD$ to the correct place.

22 years agoRepaired CSRG id. This file was not in Lite1; it was just cloned from a
Bruce Evans [Sat, 23 Mar 2002 13:41:52 +0000 (13:41 +0000)]
Repaired CSRG id.  This file was not in Lite1; it was just cloned from a
file with a in Lite1 before being cvs-added to FreeBSD.

22 years agoFixed some style bugs in the removal of __P(()). Continuation lines
Bruce Evans [Sat, 23 Mar 2002 13:10:13 +0000 (13:10 +0000)]
Fixed some style bugs in the removal of __P(()).  Continuation lines
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.

22 years agoWork around zlib bug where using a deflate window size of 8 will
Chris D. Faulhaber [Sat, 23 Mar 2002 13:05:53 +0000 (13:05 +0000)]
Work around zlib bug where using a deflate window size of 8 will
cause memory corruption.

22 years agoFixed some style bugs in the removal of __P(()). Continuation lines
Bruce Evans [Sat, 23 Mar 2002 12:38:05 +0000 (12:38 +0000)]
Fixed some style bugs in the removal of __P(()).  Continuation lines
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.

22 years agoAdd new graphical screen saver (dragon_saver).
Akio Morita [Sat, 23 Mar 2002 12:36:19 +0000 (12:36 +0000)]
Add new graphical screen saver (dragon_saver).
Add support for NEC PC-9821 PEGC screen (fire/logo/rain/warp_saver).

22 years agoFixed some style bugs in the removal of __P(()). The main ones were
Bruce Evans [Sat, 23 Mar 2002 12:13:34 +0000 (12:13 +0000)]
Fixed some style bugs in the removal of __P(()).  The main ones were
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses.  Switch to KNF
formatting and/or rewrap the whole prototype in some cases.

22 years agoFixed some style bugs in the removal of __P(()). Continuation lines
Bruce Evans [Sat, 23 Mar 2002 11:53:03 +0000 (11:53 +0000)]
Fixed some style bugs in the removal of __P(()).  Continuation lines
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.

22 years agoFixed some style bugs in the removal of __P(()). The main ones were
Bruce Evans [Sat, 23 Mar 2002 08:46:52 +0000 (08:46 +0000)]
Fixed some style bugs in the removal of __P(()).  The main ones were
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses.  Switch to KNF
formatting and/or rewrap the whole prototype in some cases.

22 years agoAdd bios area range check (lower side).
Takanori Watanabe [Sat, 23 Mar 2002 06:44:04 +0000 (06:44 +0000)]
Add bios area range check (lower side).

22 years agoFix setting of CLEANFILES.
David E. O'Brien [Sat, 23 Mar 2002 04:52:02 +0000 (04:52 +0000)]
Fix setting of CLEANFILES.

22 years agoUse our auto-YACC'ing rules to do most of the work.
David E. O'Brien [Sat, 23 Mar 2002 04:49:43 +0000 (04:49 +0000)]
Use our auto-YACC'ing rules to do most of the work.

Submitted by: bde

22 years agoFix a deadlock condition with tlb shootdown ipi delivery. Since ipis are
Jake Burkholder [Sat, 23 Mar 2002 04:20:00 +0000 (04:20 +0000)]
Fix a deadlock condition with tlb shootdown ipi delivery.  Since ipis are
not blocked by raising the pil, a reciever may be interrupted while holding
a spinlock.  If the sender does not defer interrupts throughout the entire
operation it may be interrupted and try to acquire a spinlock held by a
reciever, leading to a deadlock due to the synchronization used by the
ipi handlers themselves.

Submitted by: tmm

22 years agoBackout intrusive ktr traces in tlb fault handlers which have served their
Jake Burkholder [Sat, 23 Mar 2002 03:25:09 +0000 (03:25 +0000)]
Backout intrusive ktr traces in tlb fault handlers which have served their
purpose.

22 years agoStandardize on our SCM ID style.
David E. O'Brien [Sat, 23 Mar 2002 02:44:19 +0000 (02:44 +0000)]
Standardize on our SCM ID style.

22 years agoRestore CSRG ID's lost in January 1995.
David E. O'Brien [Sat, 23 Mar 2002 02:10:28 +0000 (02:10 +0000)]
Restore CSRG ID's lost in January 1995.

22 years agoASM versions of __FBSDID.
David E. O'Brien [Sat, 23 Mar 2002 02:01:27 +0000 (02:01 +0000)]
ASM versions of __FBSDID.

22 years agoDisable -Werror when building -- the old version of gcc used on IA32 can't
Garrett Wollman [Sat, 23 Mar 2002 00:44:00 +0000 (00:44 +0000)]
Disable -Werror when building -- the old version of gcc used on IA32 can't
deal with C99 formats.

22 years agoLots of markup fixes and improvements.
Bruce A. Mah [Sat, 23 Mar 2002 00:24:32 +0000 (00:24 +0000)]
Lots of markup fixes and improvements.

Submitted by: ue

22 years agoDon't use graphics in callouts for the release documentation. The
Bruce A. Mah [Sat, 23 Mar 2002 00:23:53 +0000 (00:23 +0000)]
Don't use graphics in callouts for the release documentation.  The
little graphics images are a pain to deal with, and they don't work in
the *.TXT files anyways.

Submitted by: ue

22 years agoRemove an obsolete release note about TCP and SYN-flood protection.
Bruce A. Mah [Sat, 23 Mar 2002 00:07:12 +0000 (00:07 +0000)]
Remove an obsolete release note about TCP and SYN-flood protection.

Reviewed by: silby

22 years agoUpdate perl's man path for 5.6.1
Brian Somers [Sat, 23 Mar 2002 00:04:15 +0000 (00:04 +0000)]
Update perl's man path for 5.6.1

22 years agoSendmail can be slow to startup.
David E. O'Brien [Fri, 22 Mar 2002 23:45:13 +0000 (23:45 +0000)]
Sendmail can be slow to startup.
So start it in the background to speed up booting.

22 years agoFix the style of the SCM ID's.
David E. O'Brien [Fri, 22 Mar 2002 23:42:05 +0000 (23:42 +0000)]
Fix the style of the SCM ID's.
I believe have made all of libc .h's as consistent as possible.

22 years agoFix the style of the SCM ID's.
David E. O'Brien [Fri, 22 Mar 2002 23:18:37 +0000 (23:18 +0000)]
Fix the style of the SCM ID's.
I believe have made all of libc .c's as consistent as possible.

22 years agoFix the style of the SCM ID's.
David E. O'Brien [Fri, 22 Mar 2002 23:18:17 +0000 (23:18 +0000)]
Fix the style of the SCM ID's.
I believe have made all of libc .h's as consistent as possible.

22 years agoUse int (ioctl)(...) rather than int ioctl(...) so that ioctl can be defined
Warner Losh [Fri, 22 Mar 2002 22:36:23 +0000 (22:36 +0000)]
Use int (ioctl)(...) rather than int ioctl(...) so that ioctl can be defined
as a macro w/o messing things up.  This is really an abuse and we will back
this out as soon as the abusers have been fixed.  Add a comment to this
effect.

With this change, the XFree86-4 port now builds.

22 years agoUse td_ucred in several trivial syscalls and remove Giant locking as
John Baldwin [Fri, 22 Mar 2002 22:32:04 +0000 (22:32 +0000)]
Use td_ucred in several trivial syscalls and remove Giant locking as
appropriate.

22 years agoFix the style of the SCM ID's.
David E. O'Brien [Fri, 22 Mar 2002 21:53:29 +0000 (21:53 +0000)]
Fix the style of the SCM ID's.
I believe have made all of libc .c's as consistent as possible.

22 years agoUse explicit Giant locks and unlocks for rather than instrumented ones for
John Baldwin [Fri, 22 Mar 2002 21:02:02 +0000 (21:02 +0000)]
Use explicit Giant locks and unlocks for rather than instrumented ones for
code that is still not safe.  suser() reads p_ucred so it still needs
Giant for the time being.  This should allow kern.giant.proc to be set
to 0 for the time being.

22 years agoTypo (if => of).
Garrett Wollman [Fri, 22 Mar 2002 20:49:29 +0000 (20:49 +0000)]
Typo (if => of).

22 years agoAdd a word of caution about integer arithmetic range and overflow detection.
Garrett Wollman [Fri, 22 Mar 2002 20:46:59 +0000 (20:46 +0000)]
Add a word of caution about integer arithmetic range and overflow detection.

22 years agoFix a few formatting brainos and make the formatting of the EXAMPLES
Garrett Wollman [Fri, 22 Mar 2002 20:38:44 +0000 (20:38 +0000)]
Fix a few formatting brainos and make the formatting of the EXAMPLES
section somewhat clearer.

22 years agoActually install the moduli(5) man page.
Dag-Erling Smørgrav [Fri, 22 Mar 2002 20:29:26 +0000 (20:29 +0000)]
Actually install the moduli(5) man page.

22 years agoInstall static and profiled libraries with -C.
Dag-Erling Smørgrav [Fri, 22 Mar 2002 20:28:16 +0000 (20:28 +0000)]
Install static and profiled libraries with -C.

22 years agoMake expr POSIX-compliant, and fix some bugs. Specifically:
Garrett Wollman [Fri, 22 Mar 2002 20:18:26 +0000 (20:18 +0000)]
Make expr POSIX-compliant, and fix some bugs.  Specifically:

- expr must conform to the Utility Syntax Guidelines, so use
getopt() to eat the (non-existent) options.

- Use the Standard type intmax_t for arithmetic.

- If an argument cannot be *completely* converted to an integer, then
it is a string.

Additionally make some style cleanups near the modified lines.  This
utility is still not completely style-compliant.

22 years agoUse char foo[] = "BAR" to avoid direct assignment of const char * into char *.
Alfred Perlstein [Fri, 22 Mar 2002 20:02:54 +0000 (20:02 +0000)]
Use char foo[] = "BAR" to avoid direct assignment of const char * into char *.
rpcgen can't really make those fields const because the remote side might
want to munge them, so we need to pass non-const in.  Hackish, but should
work.

22 years agoConst fix.
Alfred Perlstein [Fri, 22 Mar 2002 20:00:10 +0000 (20:00 +0000)]
Const fix.

22 years agoMerge from TrustedBSD MAC branch:
Robert Watson [Fri, 22 Mar 2002 19:57:41 +0000 (19:57 +0000)]
Merge from TrustedBSD MAC branch:

    Move the network code from using cr_cansee() to check whether a
    socket is visible to a requesting credential to using a new
    function, cr_canseesocket(), which accepts a subject credential
    and object socket.  Implement cr_canseesocket() so that it does a
    prison check, a uid check, and add a comment where shortly a MAC
    hook will go.  This will allow MAC policies to seperately
    instrument the visibility of sockets from the visibility of
    processes.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoRemove cast that's not needed.
Alfred Perlstein [Fri, 22 Mar 2002 19:57:09 +0000 (19:57 +0000)]
Remove cast that's not needed.

22 years agoUpdate SCM ID.
David E. O'Brien [Fri, 22 Mar 2002 19:52:59 +0000 (19:52 +0000)]
Update SCM ID.

22 years agoNote that -n is non-standard.
David E. O'Brien [Fri, 22 Mar 2002 19:52:48 +0000 (19:52 +0000)]
Note that -n is non-standard.

22 years agoWARNS from 3 to 4. still some warnings about assigning const char * to
Alfred Perlstein [Fri, 22 Mar 2002 19:50:58 +0000 (19:50 +0000)]
WARNS from 3 to 4. still some warnings about assigning const char * to
char *, but we'll fix those later.

22 years agoBack out last commit (rev 1.2). I thought I caught this file in time
David E. O'Brien [Fri, 22 Mar 2002 19:45:43 +0000 (19:45 +0000)]
Back out last commit (rev 1.2).  I thought I caught this file in time
when deP'ing.  But I guess not.

22 years agorename 'enum res' and 'struct status' to 'enum sm_res' and 'struct sm_status'
Alfred Perlstein [Fri, 22 Mar 2002 19:43:21 +0000 (19:43 +0000)]
rename 'enum res' and 'struct status' to 'enum sm_res' and 'struct sm_status'
to avoid -Wshadow warnings in consumers of its generated header files.