summaryrefslogtreecommitdiffstats
path: root/bin/rmail
Commit message (Collapse)AuthorAgeFilesLines
* Revert r267233 for now. PIE support needs to be reworked.bdrewery2014-08-191-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib
* In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.bdrewery2014-06-081-0/+2
| | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
* Bump WARNS where possible.uqs2010-02-151-1/+1
| | | | | Checked by: make universe Approved by: ed (co-mentor)
* Remove kludges intended to support src trees with partial obj trees.des2005-06-101-6/+2
| | | | Discussed with: ru
* NOSHARED -> NO_SHAREDru2004-12-211-1/+1
|
* Remove WFORMAT, style.Makefile(5).obrien2004-03-221-5/+5
|
* style.Makefile:johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=
* Remove MAINTAINER= lines from individual Makefiles in favor of thegshapiro2003-07-071-2/+0
| | | | MAINTAINER file (which already had entries for sendmail).
* Update build infrastructure for sendmail 8.12.gshapiro2002-02-171-7/+13
|
* Correct inadvertent style botches in previous commit.kris2002-02-041-2/+1
|
* Lock down with WFORMAT=1 except those directories with unfixed warnings.kris2002-02-041-0/+2
| | | | Tested on i386 and alpha.
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-041-0/+1
| | | | | | set WARNS=0. Reviewed by: mike
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Add a MAINTAINER= line so people know who to blamegshapiro2000-10-261-0/+2
|
* Style fixesgshapiro2000-10-111-4/+4
|
* Give users a way to alter the sendmail (and related utilities) buildgshapiro2000-09-171-0/+6
| | | | environment so they can enable functionality such as SASL, LDAP, Hesiod.
* The rest of the changes needed to support the new version of sendmail (8.11.0).gshapiro2000-08-121-1/+14
| | | | | | Beyond changes to the build system, this includes fixing up the sample freebsd.mc configuration for changes in defaults and syntax, removing outdated documentation, and updating the release notes.
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Use sendmail-8.9.1 rmail (with our changes).peter1998-08-043-427/+6
|
* Correct use of .Nm. Add section number to .Xr references.charnier1998-05-181-6/+6
|
* Revert 1.15 - duplicate code (initialization).eivind1997-12-151-5/+0
| | | | Pointed-out-by: bde
* Make this lint more cleanlyeivind1997-12-121-1/+6
| | | | Obtained from: OpenBSD file rev 1.4 by mickey
* Observe precedence set by Philippe Charnier when adding ansteve1997-08-071-3/+8
| | | | rcsid.
* #include <err.h> for err(3) call and replace extern reference to errnosteve1997-08-071-8/+6
| | | | with #include <errno.h>.
* Remove lines inside #ifdef 0/#endif.charnier1997-06-301-34/+1
|
* Err(3) was locally defined (for portability reasons). Use #ifdef 0/#endifcharnier1997-06-061-1/+5
| | | | to hide this so libc is kept instead.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Cleanup man page and -Wall cleaning.steve1996-12-142-10/+21
|
* If mail is received with no from address, invoke sendmail withpst1995-09-161-1/+3
| | | | | | | | | /usr/sbin/sendmail -f <> dest rather than /usr/sbin/sendmail -f dest. Submitted by: Michael Butler <imb@scgt.oz.au> Obtained from: Eric Allman <eric@cs.berkeley.edu>
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
| | | | Reviewed by: phk
* You will find enclosed some changes to make gcc -Wall more happy injoerg1995-03-191-1/+3
| | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier)
* Use `interactive' (foreground) delivery by default. The old behaviourjoerg1995-03-052-2/+10
| | | | | | | | of queuing mails only can be restored by uncommenting a CFLAGS+= line in the makefile, so sites that _really_ need this (perhaps some huge mail hubs) can still have it. The majority of FreeBSD boxes is better served with an immediate delivery (and last time i've been asking on the list, nobody complained).
* Added $Id$dg1994-09-243-0/+4
|
* Fix makefiles for our macros.wollman1994-08-051-1/+1
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-263-0/+436
OpenPOWER on IntegriCloud