<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/smrsh/Makefile, branch releng/14.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-16T17:55:03Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:55:03Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf'/>
<id>urn:sha1:d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
</entry>
<entry>
<title>sendmail: Silence -Wdeprecated-non-prototype warnings.</title>
<updated>2023-04-18T18:19:48Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-04-18T18:19:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=525438ea714724e210fa3a1c041cc05e0b9c2756'/>
<id>urn:sha1:525438ea714724e210fa3a1c041cc05e0b9c2756</id>
<content type='text'>
These will hopefully be fixed upstream eventually, but silence the
warnings until then.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D39518
</content>
</entry>
<entry>
<title>libexec: normalize paths using SRCTOP-relative paths or :H when possible</title>
<updated>2017-03-04T11:28:03Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-03-04T11:28:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a251f9dcf891805ae2101945d0d3082ec5a1768c'/>
<id>urn:sha1:a251f9dcf891805ae2101945d0d3082ec5a1768c</id>
<content type='text'>
This simplifies make logic/output

MFC after:	1 month
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>Add libexec/smrsh to the sendmail package.</title>
<updated>2016-02-08T18:57:06Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2016-02-08T18:57:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9cb5d94e7137ba951c6c11621ac09534d65e9012'/>
<id>urn:sha1:9cb5d94e7137ba951c6c11621ac09534d65e9012</id>
<content type='text'>
Submitted by:	pfg
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>META MODE: Don't create .meta files when symlinking sources into the obj directory.</title>
<updated>2015-11-25T19:44:43Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2015-11-25T19:44:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b791fbe6302023b0cf00807865059c8f016fe5dc'/>
<id>urn:sha1:b791fbe6302023b0cf00807865059c8f016fe5dc</id>
<content type='text'>
Tracking these leads to situations where meta mode will consider the
file to be out of date if /bin/sh or /bin/ln are newer than the source
file.  There's no reason for meta mode to do this as make is already
handling the rebuild dependency fine.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Convert to LIBADD</title>
<updated>2014-11-25T21:18:18Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2014-11-25T21:18:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ee5a34ecba51f02e3bf46b112e265abf976f39b6'/>
<id>urn:sha1:ee5a34ecba51f02e3bf46b112e265abf976f39b6</id>
<content type='text'>
Reduce overlinking
</content>
</entry>
<entry>
<title>Revert r267233 for now. PIE support needs to be reworked.</title>
<updated>2014-08-19T15:04:32Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2014-08-19T15:04:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5608fd23c27fa1e8ee595d7b678cbfd35d657fbe'/>
<id>urn:sha1:5608fd23c27fa1e8ee595d7b678cbfd35d657fbe</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.</title>
<updated>2014-06-08T17:29:31Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2014-06-08T17:29:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=864c53ead899f7838cd2e1cca3b485a4a82f5cdc'/>
<id>urn:sha1:864c53ead899f7838cd2e1cca3b485a4a82f5cdc</id>
<content type='text'>
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 &lt;lattera@gmail.com&gt;
Discussed between:	des@ and Shawn Webb [2]
</content>
</entry>
<entry>
<title>Since clang 3.2 now has an option to suppress warnings about implicitly</title>
<updated>2013-02-16T20:17:31Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2013-02-16T20:17:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a7449e3cca7f54cb46bc1505204297d06f7e6afc'/>
<id>urn:sha1:a7449e3cca7f54cb46bc1505204297d06f7e6afc</id>
<content type='text'>
promoted K&amp;R parameters, remove the workarounds added for sendmail
components in r228558.

MFC after:	1 week
</content>
</entry>
<entry>
<title>Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to</title>
<updated>2012-02-28T18:30:18Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2012-02-28T18:30:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=07b202a847e08b9cd976e40315cda902ced1c84a'/>
<id>urn:sha1:07b202a847e08b9cd976e40315cda902ced1c84a</id>
<content type='text'>
get rid of testing explicitly for clang (using ${CC:T:Mclang}) in
individual Makefiles.

Instead, use the following extra macros, for use with clang:
- NO_WERROR.clang       (disables -Werror)
- NO_WCAST_ALIGN.clang  (disables -Wcast-align)
- NO_WFORMAT.clang	(disables -Wformat and friends)
- CLANG_NO_IAS		(disables integrated assembler)
- CLANG_OPT_SMALL	(adds flags for extra small size optimizations)

As a side effect, this enables setting CC/CXX/CPP in src.conf instead of
make.conf!  For clang, use the following:

CC=clang
CXX=clang++
CPP=clang-cpp

MFC after:	2 weeks
</content>
</entry>
</feed>
