Joerg Sonnenberger [Mon, 1 Aug 2005 16:15:19 +0000 (16:15 +0000)]
Merge from vendor branch OPENPAM:
Import pam_deny, pam_permit and pam_unix from FreeBSD, use them instead
of the sample modules from OpenPAM. I should read release notes in
greater detail. Thanks to DES for pointing that out.
Joerg Sonnenberger [Mon, 1 Aug 2005 16:15:19 +0000 (16:15 +0000)]
Import pam_deny, pam_permit and pam_unix from FreeBSD, use them instead
of the sample modules from OpenPAM. I should read release notes in
greater detail. Thanks to DES for pointing that out.
Joerg Sonnenberger [Mon, 1 Aug 2005 16:15:19 +0000 (16:15 +0000)]
Import pam_deny, pam_permit and pam_unix from FreeBSD, use them instead
of the sample modules from OpenPAM. I should read release notes in
greater detail. Thanks to DES for pointing that out.
Joerg Sonnenberger [Mon, 1 Aug 2005 16:13:20 +0000 (16:13 +0000)]
Add passwd manipulation code based on parts of vipw and chpass.
Obtained-from: FreeBSD
Keep pw_scan.c for now until it's clear whether __pw_scan can be
merged pw_scan.
Sascha Wildner [Mon, 1 Aug 2005 01:49:18 +0000 (01:49 +0000)]
Remove trailing blank space characters. mdoc(7) explicitly recommends doing
so lest troff might get confused.
Sascha Wildner [Mon, 1 Aug 2005 00:35:08 +0000 (00:35 +0000)]
Convert to mdoc.
Sascha Wildner [Mon, 1 Aug 2005 00:21:07 +0000 (00:21 +0000)]
Convert to mdoc.
Matthew Dillon [Sun, 31 Jul 2005 22:58:03 +0000 (22:58 +0000)]
Bump the development branch sub-version from 1.3.2 to 1.3.3, indicating
the many critical bug fixes that have been made in the last few weeks.
Matthew Dillon [Sun, 31 Jul 2005 22:25:46 +0000 (22:25 +0000)]
Stephan believes that this patch, just committed to FreeBSD, may fix
softupdates deadlocks reported by Tomaz Borstnar. Symptoms were basically
that the syncer would block in getblk() after approximately 1 weeks operation
under moderate filesystem load due to a softupdates-locked indirect block
buffer which was never being released. This would prevent file blocks
from being freed and cause the filesystem to appear to fill up. The problem
was originally believed to be a bug in the IPS driver, but turns out not to
be.
This will be MFCd to RELEASE once testing is complete.
FreeBSD commit msg:
Delay freeing disk space for file system blocks until all dirty buffers
are safely released. This fixes softdep problems on truncation
(deletion) of files with dirty buffers.
Testing-by: =?ISO-8859-2?Q?Toma=BE_Bor=B9tnar?= <tomaz.borstnar@amis.net>
Taken-from: FreeBSD / ffs_softdep.c 1.182.
Original-Author: Stephan Uphoff <ups@tree.com> (FreeBSD)
Sascha Wildner [Sun, 31 Jul 2005 21:38:32 +0000 (21:38 +0000)]
Convert to mdoc.
Sascha Wildner [Sun, 31 Jul 2005 20:40:26 +0000 (20:40 +0000)]
1) De-K&R-ify function declarations, add const where necessary and bump
WARNS to 6.
2) Remove duplicate CVS tag.
3) Remove unnecessary void casts.
4) Remove parameter names from function prototypes and make functions static.
5) Really use the usage() function.
6) Minor style cleanup.
(1) submitted by: Peter Avalos <pavalos@theshell.com>
Sascha Wildner [Sun, 31 Jul 2005 12:35:50 +0000 (12:35 +0000)]
Add DragonFly 1.3.2.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 12:27:29 +0000 (12:27 +0000)]
Take the -h use case separate to make it clearer.
Specify conformity and extensions.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 12:21:33 +0000 (12:21 +0000)]
Pull -h to its own synopsis line to avoid possible confusion of it being
used in conjunction with H, L, or P.
Add conformity line.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 12:08:12 +0000 (12:08 +0000)]
Add -f to the non-standard list.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 12:02:44 +0000 (12:02 +0000)]
Use POSIX wording of the -R option, the previous one was really unclear
what it did.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:53:46 +0000 (11:53 +0000)]
Document SUSv3 conformity.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:48:47 +0000 (11:48 +0000)]
Use consistent wording, blank has been changed to empty (which is POSIX
terminology), reflect this.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:46:52 +0000 (11:46 +0000)]
Add DIAGNOSTICS.
Specify conformity to SUSv3 and note how the utility is ahead of the standard
as described in the FUTURE DIRECTIONS of said standard.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:33:34 +0000 (11:33 +0000)]
Remove part about 89 and 1989, we live in the 21st century now.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:24:54 +0000 (11:24 +0000)]
Document that dirname does conform to SUSv3.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:22:36 +0000 (11:22 +0000)]
Document that we do not conform to SUSv3.
Noting:
basename blah/blah// does not trim the trailing slashes, which is required
by SUSv3.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:18:09 +0000 (11:18 +0000)]
Document the fact we do not conform to 1003.1-2004/SUSv3.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:07:32 +0000 (11:07 +0000)]
Add SUSv3 information.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 10:21:43 +0000 (10:21 +0000)]
Actually add a copyright name.
Noticed by: Svan
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 09:27:22 +0000 (09:27 +0000)]
Add EXAMPLES.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 09:23:47 +0000 (09:23 +0000)]
Add DIAGNOSTICS.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 09:13:48 +0000 (09:13 +0000)]
Add manual page.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 08:31:52 +0000 (08:31 +0000)]
Add sshd example, might be useful for jails.
Submitted by: Tomaz Borstnar
Hiten Pandya [Sun, 31 Jul 2005 01:51:43 +0000 (01:51 +0000)]
Update the physio(9) manual page to reflect reality. Clean up the
mdoc while I am around.
Hiten Pandya [Sun, 31 Jul 2005 01:50:38 +0000 (01:50 +0000)]
Forced commit to ensure revision 1.18 fixed a build break introduced
by me.
Submitted-by: Peter Avalos <pavalos@theshell.com>
Hiten Pandya [Sun, 31 Jul 2005 01:27:50 +0000 (01:27 +0000)]
*** empty log message ***
Joerg Sonnenberger [Sat, 30 Jul 2005 21:52:28 +0000 (21:52 +0000)]
Fix macro name in comment.
Joerg Sonnenberger [Sat, 30 Jul 2005 20:31:01 +0000 (20:31 +0000)]
Regen.
Joerg Sonnenberger [Sat, 30 Jul 2005 20:29:40 +0000 (20:29 +0000)]
Move ostat definition from sys/stat.h into emulation43bsd/stat.h.
Sascha Wildner [Sat, 30 Jul 2005 20:15:48 +0000 (20:15 +0000)]
Fix manpage links.
Joerg Sonnenberger [Sat, 30 Jul 2005 18:52:35 +0000 (18:52 +0000)]
GC unused variable.
Joerg Sonnenberger [Sat, 30 Jul 2005 18:15:18 +0000 (18:15 +0000)]
Since we have a table for each device anyway, we can also use it to
describe the default RID to use.
Suggestion-from: me
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Joerg Sonnenberger [Sat, 30 Jul 2005 17:10:24 +0000 (17:10 +0000)]
Partially backout last commit. /usr/lib is added by GCC anyway and the
libc build is not ready yet for automatic -lc.
Liam J. Foy [Sat, 30 Jul 2005 16:44:12 +0000 (16:44 +0000)]
- Use MAXPATHLEN
Joerg Sonnenberger [Sat, 30 Jul 2005 13:59:45 +0000 (13:59 +0000)]
Stop installing profiling libraries as /usr/lib/lib${LIB}_p.a, because
it makes it really hard to support shared profiling. Instead, install
them into /usr/lib/profile and tweak GCC to look there first, when -pg
is given. Also add support for /usr/lib/debug and -g respective. If both
-pg and -g are given, profile has the precedence.
Now that libc.a is always used for the static case, link all shared
objects against libc, too. This makes it easier to detect libc mixing
and can be used for stricter link-time checks in the future.
Liam J. Foy [Sat, 30 Jul 2005 11:53:52 +0000 (11:53 +0000)]
- Fix return values to conform with SUSv3
Sascha Wildner [Sat, 30 Jul 2005 09:10:33 +0000 (09:10 +0000)]
-malign-functions is obsolete, use -falign-functions.
Hiten Pandya [Sat, 30 Jul 2005 01:12:22 +0000 (01:12 +0000)]
Remove items from TODO list that have been implemented in last major
update to this module.
Jeffrey Hsu [Fri, 29 Jul 2005 23:16:04 +0000 (23:16 +0000)]
Document the standard and historical behavior that open(2) returns
the lowest unused file descriptor in the process' file descriptor table.
Max Okumoto [Fri, 29 Jul 2005 22:48:41 +0000 (22:48 +0000)]
Use standard bool instead of our own Boolean type.
Max Okumoto [Fri, 29 Jul 2005 22:47:01 +0000 (22:47 +0000)]
Remove redundent paramter to Compat_RunCmds(), since the it is
contained within another object which is also passed.
Max Okumoto [Fri, 29 Jul 2005 22:45:44 +0000 (22:45 +0000)]
fix some style(9) white space problems that I missed.
Sascha Wildner [Fri, 29 Jul 2005 21:17:08 +0000 (21:17 +0000)]
Remove parameter names from prototypes.
Hiten Pandya [Fri, 29 Jul 2005 16:10:36 +0000 (16:10 +0000)]
Add minimal manual page explaining use of bread(9) and bwrite(9) kernel
functions. A minimal explanation of buffer cache initialization process
is also explained
Note, developers interested in the internals of the above functions can
extend this and the buf(9) manual page.
Joerg Sonnenberger [Fri, 29 Jul 2005 14:20:11 +0000 (14:20 +0000)]
Restore NCURSES_CONST constness.
Joerg Sonnenberger [Thu, 28 Jul 2005 19:48:40 +0000 (19:48 +0000)]
Fresh installations don't have libtelnet installed and older FreeBSD
systems have to take the route over 1.2 anyway, so the magic to remove
libtelnet can go away.
Joerg Sonnenberger [Thu, 28 Jul 2005 19:43:55 +0000 (19:43 +0000)]
Use TARGET_LIBDIR variables instead of overriding LIBDIR.
Joerg Sonnenberger [Thu, 28 Jul 2005 19:25:41 +0000 (19:25 +0000)]
Instead of overriding LIBDIR, override the new TARGET_LIBDIR variables.
This allows the normal dependency handling to be readded.
Joerg Sonnenberger [Thu, 28 Jul 2005 19:19:47 +0000 (19:19 +0000)]
Eliminate USEGNUDIR and instead allow the target directory to be
specified directly.
Matthew Dillon [Thu, 28 Jul 2005 18:15:09 +0000 (18:15 +0000)]
There is a case when B_VMIO is clear where a buffer can be placed on the
EMPTY or EMPTYKVA queues without being disassociated from its vnode.
This can lead to a duplicate logical block panic in the red-black tree code.
Rework brelse() to ensure that buffers are properly cleaned up before being
placed on said queues, and add assertions to validate other cases.
Reported-by: Tomaz Borstnar
Matthew Dillon [Thu, 28 Jul 2005 18:10:23 +0000 (18:10 +0000)]
If multiple processes are being traced and some other process has a write
error, the vnode ref that we rely on from p_tracep can get ripped out from
under us, causing a panic. vref() a the ktrace vnode for the duration of
the write rather then relying on the ref from p_tracep.
Joerg Sonnenberger [Thu, 28 Jul 2005 16:57:09 +0000 (16:57 +0000)]
Remove break after return.
Obtained-from: FreeBSD
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Joerg Sonnenberger [Thu, 28 Jul 2005 16:56:37 +0000 (16:56 +0000)]
While setting up a transmit packet disable interupts on the card then
re-enable them after we are done setting up the packet. This seems to
fix the MPI350 newer firmware hangs.
Obtained-from: FreeBSD (if_an.c, 1.2.2.16)
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Joerg Sonnenberger [Thu, 28 Jul 2005 16:55:17 +0000 (16:55 +0000)]
Sync with FreeBSD(if_an.c 1.2.2.15, if_aironet_ieee.h 1.1.2.9)
- Bump up the general and status RID sizes
- Clear out an_dma_vaddr on free so we can test to see if dma is
setup when the card is kldunloaded/kldloaded etc. only for MPI350
- Notify on RID read overflow and truncate this currently causes
a panic in -stable when the stack during an ifconfig an0 is done
with newer firmware
Obtained-from: FreeBSD
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Joerg Sonnenberger [Thu, 28 Jul 2005 16:52:44 +0000 (16:52 +0000)]
Sync with FreeBSD(if_anreg.h 1.1.2.9, if_an.c 1.2.2.14 and
if_aironet_ieee.h 1.1.2.8)
- Add support for Cisco latest firmware RID sizes that supports 25
SSIDs!
- Fix up TX speed changes.
- Make mpi-350 cards sort-of work with new firmware. It RXs okay but
TXs only work for about 14 packets then fails to get an interrupt.
The TX watchdog fires. It has been reported that my hack for now
doesn't break cards with the older firmware. It appears my card has
lost the ability to RX or TX at all but other peoples cards work. I
assume it got damaged in tansport.
Obtained-from: FreeBSD
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Joerg Sonnenberger [Thu, 28 Jul 2005 16:33:25 +0000 (16:33 +0000)]
Remove unnecessary initialisations. Return ENXIO instead of 1 in
an_pccard_probe. Separate error path and normal normal return in
ac_pccard_attach. GC AN_PCI_PLX_LOIO. Don't mess with PCI controll
register, it's already down by the PCI layer.
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
In addition, reverse the return value of an_probe. It doesn't make sense
to return 0 on failure, if the callee are interested only in the error,
not the success code.
Joerg Sonnenberger [Thu, 28 Jul 2005 16:22:59 +0000 (16:22 +0000)]
Use pcidevs and common PCI probe style.
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Hiten Pandya [Thu, 28 Jul 2005 15:48:56 +0000 (15:48 +0000)]
Add some useful GDB macros that have been sitting in my local tree,
used for displaying mount structures, lsvfs, and vfsops iteration.
Joerg Sonnenberger [Thu, 28 Jul 2005 00:06:10 +0000 (00:06 +0000)]
Remove useless .PATH entries inherited from FreeBSD.
Joerg Sonnenberger [Wed, 27 Jul 2005 21:56:32 +0000 (21:56 +0000)]
Factor out an_detach, since the implementation for all busses is
(almost) identical. Remove useless .PATH.
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
David Rhodus [Wed, 27 Jul 2005 18:26:28 +0000 (18:26 +0000)]
Fix typo.
Joerg Sonnenberger [Wed, 27 Jul 2005 15:56:18 +0000 (15:56 +0000)]
cvtstat doesn't exist.
Joerg Sonnenberger [Wed, 27 Jul 2005 14:35:55 +0000 (14:35 +0000)]
Merge revision 1.38 from FreeBSD:
Remove advertising clause from University of California Regent's
license,
per letter dated July 22, 1999.
Approved by: core
Joerg Sonnenberger [Wed, 27 Jul 2005 14:31:11 +0000 (14:31 +0000)]
Fix typo.
Found-by: corecode
Matthew Dillon [Wed, 27 Jul 2005 07:55:15 +0000 (07:55 +0000)]
Add a missing crit_exit().
Found-by: Tomaz Borstnar using DEBUG_CRIT_SECTIONS
Joerg Sonnenberger [Tue, 26 Jul 2005 21:15:20 +0000 (21:15 +0000)]
FreeBSD and NetBSD both use derivates of Sun's math library. On FreeBSD,
it's been put into lib/msun, on NetBSD it is under lib/libm. Since
DragonFly misses a lot of the changes which went into both and I
consider the NetBSD version cleaner, switch to that.
Biggest difference to NetBSD is the omission of wrappers for non-IEEE757
floating point support. There's no point in supporting anything but IEEE
757 and that saves at least a function call per math entry point.
Addtionally, important the fpclassify, isinf, isnan and signbit
functions into libc as required for C99.
Remove the support for non-POSIX operation. matherr is pointless and
wasn't really supported anyway.
Matthew Dillon [Tue, 26 Jul 2005 20:53:58 +0000 (20:53 +0000)]
Add a new kernel compile debugging option, DEBUG_CRIT_SECTIONS. This fairly
invasive debugging option compiles matching code into the critical section
inlines and reports mismatches at run-time. It is used to detect
missing/forgotten crit_exit() calls.
Note that because there are a number of places where critical sections are
manipulated outside the procedures that entered them, this code will
generate a number of false hits and should only be used under the direction
of experienced developers.
Note that the thread structure will be extended by this option.
Matthew Dillon [Tue, 26 Jul 2005 20:48:41 +0000 (20:48 +0000)]
Add missing crit_exit().
Liam J. Foy [Tue, 26 Jul 2005 20:17:31 +0000 (20:17 +0000)]
- Don't role our own - use err(3)
Matthew Dillon [Tue, 26 Jul 2005 18:02:49 +0000 (18:02 +0000)]
Add a missing FREE_LOCK() call.
Joerg Sonnenberger [Tue, 26 Jul 2005 16:45:58 +0000 (16:45 +0000)]
Simplify conditional by making use of __DF_VISIBLE and __ISO_C_VISIBLE.
Joerg Sonnenberger [Tue, 26 Jul 2005 16:45:04 +0000 (16:45 +0000)]
Add a new feature-test macro __DF_VISIBLE for those functions we want to
explicitly enable independent of standards being choosen. This is the
default either when no other macro was provided or when _DRAGONFLY_SOURCE
or _NETBSD_SOURCE were specified.
Hiten Pandya [Tue, 26 Jul 2005 15:43:36 +0000 (15:43 +0000)]
Clean the VFS operations vector and related code:
* take advantage of C99 sparse structure initialisation, this allows
us to initialise left out vfsops entries cleanly when vfs_register()
is called; any vfsop entries that are not specified will be assigned
vfs_std* functions. the only exception to this rule is VFS_SYNC
which is assigned vfs_stdnosync() since a file system may not have
support for it. file systems can simply assign vfs_stdsync if they
do not have their own sync operation.
* add KKASSERTS to make sure that the VFS_ROOT, VFS_MOUNT and VFS_UNMOUNT
vfs operations are provided by a file system being registered. all of
the above are necessary to ensure a minimally working file system.
* remove scattered no-op definitions of VFS_START() vfsop vector entry
and take advantage of sparse vfsop initialisation. VFS_START is only
used by MFS to make ensure calling process is not swapped out when
I/O is initialised. The entry point is called from the mount path,
before the file system is marked ready.
* remove scattered no-op definitions of VFS_QUOTACTL() vfsop vector entry
and take advantage of sparse vfsop initialisation.
* give UFS a VFS_UNINIT vfsop entry and make use of it in ext2fs when
ripping down the hash tables.
* many file systems in the kernel seem to not implement the complementing
VFS_UNINIT() vfsop entry, this is not so much of a problem when the
file system is compiled into the kernel, but it can leave leakage when
compiled as KLD modules. add uninitialisation code and entry points
for ext2fs, ufs, fdescfs. grab the ufs_ihash_token when free'ing the
inode hash table at ripping time.
* add typedefs for all the vfsop entry points, make use of it in definition
of struct vfsops; this results in clean and consolidate code. use the
typedefs for vfs_std* function prototypes.
Joerg Sonnenberger [Tue, 26 Jul 2005 14:56:04 +0000 (14:56 +0000)]
Drop GCC < 1 support, simplify inline assembly and use proper #error for
!GCC case.
Joerg Sonnenberger [Tue, 26 Jul 2005 12:40:38 +0000 (12:40 +0000)]
Don't panic. Also races in the attach path.
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Paniced-for: eirikn
Gregory Neil Shapiro [Tue, 26 Jul 2005 02:40:25 +0000 (02:40 +0000)]
Remove installation of the dragonfly{,.submit}.cf files since users may
do a 'make upgrade' before a 'make buildworld' and the .cf files won't
exist. Strictly speaking, we don't need them in /etc/mail/ for
/etc/mail/Makefile to work properly anyway so this is a safe change.
I prefer this to adding the .cf files as dependencies to the upgrade
target since that target shouldn't do any building (i.e., 'make upgrade'
doesn't do things like 'make obj' first).
Hiten Pandya [Tue, 26 Jul 2005 00:29:38 +0000 (00:29 +0000)]
Remove outdated information with regard to old tinderbox.
David Rhodus [Mon, 25 Jul 2005 18:57:36 +0000 (18:57 +0000)]
Remove reference to devd.
Hiten Pandya [Mon, 25 Jul 2005 17:51:36 +0000 (17:51 +0000)]
Update the unifdef(1) utility to the latest code from FreeBSD, and the
manual page as well.
Obtained-from: FreeBSD
Hiten Pandya [Mon, 25 Jul 2005 17:25:51 +0000 (17:25 +0000)]
Remove conditional bits about other operating systems, they are not
required and just get in the way.
Joerg Sonnenberger [Mon, 25 Jul 2005 16:04:36 +0000 (16:04 +0000)]
Install pam.d's README and convert.sh as part of upgrade_etc.
Don't install or convert the configuration automatically, it might
surprise the administrator.
Joerg Sonnenberger [Mon, 25 Jul 2005 12:46:59 +0000 (12:46 +0000)]
Add support for HP hn210e usb ethernet.
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Obtained-from: FreeBSD
Joerg Sonnenberger [Mon, 25 Jul 2005 01:29:03 +0000 (01:29 +0000)]
Unhook rc.d/network, it should be unused.
Joerg Sonnenberger [Mon, 25 Jul 2005 00:46:16 +0000 (00:46 +0000)]
GC unused header from BSD libm.
Joerg Sonnenberger [Mon, 25 Jul 2005 00:37:41 +0000 (00:37 +0000)]
Add most parts of the wide char stdio support. This is not hooked up
yet.
Obtained-from: NetBSD, mostly derived from FreeBSD
Gregory Neil Shapiro [Mon, 25 Jul 2005 00:24:32 +0000 (00:24 +0000)]
Bring DragonFly's sendmail infrastructure up to date. This commit includes:
- Upgrading base system from sendmail 8.12.10 to 8.13.4 (which includes
native DragonFly support so DragonFly no longer needs to pretend to be
FreeBSD).
- Drop the FreeBSD-only add-ons of nobiff and nofsync for mail.local
and the FreeBSD-customized Received: header format and instead use the
distribution as released by sendmail.org.
- Default to /etc/mail/dragonfly.mc and /etc/mail/dragonfly.submit.mc
instead of /etc/mail/freebsd{,.submit}.mc.
- Users should be sure to 'cd /usr/src; make upgrade' to get the
new dragonfly{,.submit}.mc files installed into /etc/mail/.
(Or you can just do the sendmail portion with 'cd /usr/src/etc/sendmail;
make upgrade'.)
- Support for per-host submit.mc files (i.e., /etc/mail/`hostname`.submit.mc).
- New SENDMAIL_CF_DIR make.conf variable for overriding location of the
sendmail/cf directory (default is still /usr/share/sendmail/cf/).
- Better sendmail_enable checking in /etc/rc.sendmail.
- /etc/periodic/daily/150.clean-hoststat now does the right thing and only
cleans expired host status entries using the purgestat command.
Joerg Sonnenberger [Sun, 24 Jul 2005 20:23:00 +0000 (20:23 +0000)]
Add description of FPU for floating point conversion functions.
Joerg Sonnenberger [Sun, 24 Jul 2005 15:04:56 +0000 (15:04 +0000)]
Just threat all ELF dynamic objects as shared libraries, don't verify
the ELF OS ABI. This unbreaks ldd on shared libraries and works e.g. for
Linux libs too.
Remainder-from: corecode, buggs
Joerg Sonnenberger [Sun, 24 Jul 2005 12:40:36 +0000 (12:40 +0000)]
Fix C++.
Joerg Sonnenberger [Sat, 23 Jul 2005 23:27:28 +0000 (23:27 +0000)]
regen.
Joerg Sonnenberger [Sat, 23 Jul 2005 23:26:50 +0000 (23:26 +0000)]
Remove partial NetBSD support. It's pointless to have an emulation of
three syscalls (stat, lstat and fstat), the rest was never finished.
Discussed-with: dillon
Joerg Sonnenberger [Sat, 23 Jul 2005 23:14:44 +0000 (23:14 +0000)]
Merge __sFILEX into __FILE. Let __fpending handle the ungetc buffer
correctly.
Joerg Sonnenberger [Sat, 23 Jul 2005 20:23:06 +0000 (20:23 +0000)]
First step to cleaning up stdio. This breaks the libc ABI, all programs
have to be recompiled.
Make FILE an opaque type for normal operation (anything outside libc).
This means programs have to use the exported interface, they can neither
make static instances on the heap or access fields of their own.
Introduce a new type __FILE_public, which contains the fields accessed
by the various macros. It is placed first in the real FILE and the
macros cast the given FILE * to __FILE_public for access. To allow
better argument checks, all macros have been converted to inline
functions instead.
Merge the various stdio helper headers into a single priv_stdio.h. The
license from the original files has been kept, the third clause is gone
as part of the UCB copyright addendum. They haven't been changed in
FreeBSD at all.
Add two new helper functions, fcookie and __fpending to read parts of
the hidden state. The former is handy for funopen users, the latter
exists on other systems as well.
Cleanup some minor warnings on the way and hide some local functions
with static.
Adept libftpio and CVS to the chanced API.
Joerg Sonnenberger [Sat, 23 Jul 2005 19:47:15 +0000 (19:47 +0000)]
Add shlock(1), a program for the safe creation of lock files from shell
scripts. It's uses the same algorithm as implemented by Erik Fair, but
is easier to read and more stricter in checking for error conditions.