aboutsummaryrefslogtreecommitdiff
path: root/bin/rmail
Commit message (Collapse)AuthorAgeFilesLines
* Revert r267233 for now. PIE support needs to be reworked.Bryan Drewery2014-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 Notes: svn path=/head/; revision=270168
* In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.Bryan Drewery2014-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] Notes: svn path=/head/; revision=267233
* Bump WARNS where possible.Ulrich Spörlein2010-02-151-1/+1
| | | | | | | | Checked by: make universe Approved by: ed (co-mentor) Notes: svn path=/head/; revision=203916
* Remove kludges intended to support src trees with partial obj trees.Dag-Erling Smørgrav2005-06-101-6/+2
| | | | | | | Discussed with: ru Notes: svn path=/head/; revision=147225
* NOSHARED -> NO_SHAREDRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139112
* Remove WFORMAT, style.Makefile(5).David E. O'Brien2004-03-221-5/+5
| | | | Notes: svn path=/head/; revision=127287
* style.Makefile:Johan Karlsson2004-02-231-1/+1
| | | | | | | Use WARNS?= instead of WARNS= Notes: svn path=/head/; revision=126173
* Remove MAINTAINER= lines from individual Makefiles in favor of theGregory Neil Shapiro2003-07-071-2/+0
| | | | | | | MAINTAINER file (which already had entries for sendmail). Notes: svn path=/head/; revision=117299
* Update build infrastructure for sendmail 8.12.Gregory Neil Shapiro2002-02-171-7/+13
| | | | Notes: svn path=/head/; revision=90798
* Correct inadvertent style botches in previous commit.Kris Kennaway2002-02-041-2/+1
| | | | Notes: svn path=/head/; revision=90167
* Lock down with WFORMAT=1 except those directories with unfixed warnings.Kris Kennaway2002-02-041-0/+2
| | | | | | | Tested on i386 and alpha. Notes: svn path=/head/; revision=90166
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyDavid E. O'Brien2001-12-041-0/+1
| | | | | | | | | set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87323
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74845
* Add a MAINTAINER= line so people know who to blameGregory Neil Shapiro2000-10-261-0/+2
| | | | Notes: svn path=/head/; revision=67660
* Style fixesGregory Neil Shapiro2000-10-111-4/+4
| | | | Notes: svn path=/head/; revision=66961
* Give users a way to alter the sendmail (and related utilities) buildGregory Neil Shapiro2000-09-171-0/+6
| | | | | | | environment so they can enable functionality such as SASL, LDAP, Hesiod. Notes: svn path=/head/; revision=65970
* The rest of the changes needed to support the new version of sendmail (8.11.0).Gregory Neil Shapiro2000-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. Notes: svn path=/head/; revision=64567
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50471
* Use sendmail-8.9.1 rmail (with our changes).Peter Wemm1998-08-043-427/+6
| | | | Notes: svn path=/head/; revision=38093
* Correct use of .Nm. Add section number to .Xr references.Philippe Charnier1998-05-181-6/+6
| | | | Notes: svn path=/head/; revision=36148
* Revert 1.15 - duplicate code (initialization).Eivind Eklund1997-12-151-5/+0
| | | | | | | Pointed-out-by: bde Notes: svn path=/head/; revision=31743
* Make this lint more cleanlyEivind Eklund1997-12-121-1/+6
| | | | | | | Obtained from: OpenBSD file rev 1.4 by mickey Notes: svn path=/head/; revision=31687
* Observe precedence set by Philippe Charnier when adding anSteve Price1997-08-071-3/+8
| | | | | | | rcsid. Notes: svn path=/head/; revision=27968
* #include <err.h> for err(3) call and replace extern reference to errnoSteve Price1997-08-071-8/+6
| | | | | | | with #include <errno.h>. Notes: svn path=/head/; revision=27960
* Remove lines inside #ifdef 0/#endif.Philippe Charnier1997-06-301-34/+1
| | | | Notes: svn path=/head/; revision=27107
* Err(3) was locally defined (for portability reasons). Use #ifdef 0/#endifPhilippe Charnier1997-06-061-1/+5
| | | | | | | to hide this so libc is kept instead. Notes: svn path=/head/; revision=26467
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24348
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Cleanup man page and -Wall cleaning.Steve Price1996-12-142-10/+21
| | | | Notes: svn path=/head/; revision=20423
* If mail is received with no from address, invoke sendmail withPaul Traina1995-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> Notes: svn path=/head/; revision=10824
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=8855
* You will find enclosed some changes to make gcc -Wall more happy inJoerg Wunsch1995-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) Notes: svn path=/head/; revision=7165
* Use `interactive' (foreground) delivery by default. The old behaviourJoerg Wunsch1995-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). Notes: svn path=/head/; revision=6904
* Added $Id$David Greenman1994-09-243-0/+4
| | | | Notes: svn path=/head/; revision=3044
* Fix makefiles for our macros.Garrett Wollman1994-08-051-1/+1
| | | | Notes: svn path=/head/; revision=1864
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-263-0/+436
Notes: svn path=/head/; revision=1556