#
dc36d6f9 |
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
lib: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl s
lib: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
a4aaee21 |
| 17-Aug-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
forkpty: Avoid fd leak if fork() fails.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D41491
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
636402a7 |
| 23-May-2018 |
John Baldwin <jhb@FreeBSD.org> |
Use __SCCSID() for SCCS IDs.
- Define NO__SCCSID in CFLAGS to preserve existing behavior of omitting SCCS IDs by default. - While here, fix the $FreeBSD$ in pw_util.c to use __FBSDID.
|
#
4fc74049 |
| 29-Dec-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r327169 through r327340.
|
#
7e8fba78 |
| 28-Dec-2017 |
Warner Losh <imp@FreeBSD.org> |
Close slave on fork error to prevent pty fd leak.
CID: 978209
|
#
82725ba9 |
| 23-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325999 through r326131.
|
#
8a16b7a1 |
| 20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
General further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier f
General further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
show more ...
|
Revision tags: release/10.4.0, release/11.1.0 |
|
#
348238db |
| 01-Mar-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r314420 through r314481.
|
#
fbbd9655 |
| 01-Mar-2017 |
Warner Losh <imp@FreeBSD.org> |
Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is
Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
show more ...
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0 |
|
#
e57c2b13 |
| 04-Dec-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
integrate from head@185615
|
Revision tags: release/6.4.0_cvs, release/6.4.0 |
|
#
b4d2cfd9 |
| 04-Nov-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Add missing header.
|
#
b8cbf1a3 |
| 28-Oct-2008 |
Ed Schouten <ed@FreeBSD.org> |
Remove unneeded call to revoke() inside openpty().
As discussed on the commits list, there is no need to call revoke() inside openpty(). On RELENG_6 and RELENG_7 unlockpt() will call revoke(). On HE
Remove unneeded call to revoke() inside openpty().
As discussed on the commits list, there is no need to call revoke() inside openpty(). On RELENG_6 and RELENG_7 unlockpt() will call revoke(). On HEAD we create pseudo-terminals on demand, so there is no need to revoke the slave device node.
This change should never be MFC'd, because the implementation we have in RELENG_6 and RELENG_7 should work flawlessly with older versions of libc.
Discussed with: jhb MFC after: never
show more ...
|
#
8d333b3c |
| 03-Oct-2008 |
Ed Schouten <ed@FreeBSD.org> |
Small cleanups to openpty().
- Pass O_NOCTTY to posix_openpt(2). This makes the implementation work consistently on implementations that make the PTY the controlling TTY by default.
- Call unlo
Small cleanups to openpty().
- Pass O_NOCTTY to posix_openpt(2). This makes the implementation work consistently on implementations that make the PTY the controlling TTY by default.
- Call unlockpt() before opening the slave device. POSIX mentions that de slave device should only be opened after grantpt() and unlockpt() have been called.
- Replace some redundant code by a label.
In theory we could remove a lot of code from openpty() on FreeBSD -CURRENT, because grantpt(), unlockpt() and revoke() are not needed in our implementation. We'd better keep them there. This makes the code still work with older FreeBSD releases and even makes it work on other non-BSD operating systems.
I've compiled openpty() on Linux. You only need to remove the revoke() call, because revoke() on Linux always returns -1. Apart from that, it seems to work like it should.
Reviewed by: jhb
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
c50897c3 |
| 15-Jan-2008 |
John Baldwin <jhb@FreeBSD.org> |
Put back the openpty(3) and ptsname(3) fixes but don't disable ptsname(3) on pts(4) devices this time. This fixes the issues while leaving pts(4) enabled on HEAD.
|
#
d3f57683 |
| 15-Jan-2008 |
Colin Percival <cperciva@FreeBSD.org> |
Back out last commit, since it accidentally broke pts.
The security fix will be re-committed soon, hopefully without breaking anything.
|
#
160e7697 |
| 14-Jan-2008 |
Colin Percival <cperciva@FreeBSD.org> |
Fix issues which allow snooping on ptys. [08:01]
Fix an off-by-one error in inet_network(3). [08:02]
Security: FreeBSD-SA-08:01.pty Security: FreeBSD-SA-08:02.libc
|
#
889befc4 |
| 20-Dec-2007 |
John Baldwin <jhb@FreeBSD.org> |
Invoke revoke(2) on the slave pty in the pts(4) case (new_openpty()) to kick off any other users on the device line before using it since openpty(3) is documented to do this. Note that grantpt(3) do
Invoke revoke(2) on the slave pty in the pts(4) case (new_openpty()) to kick off any other users on the device line before using it since openpty(3) is documented to do this. Note that grantpt(3) does not call revoke(2), it only adjusts permissions and ownership.
MFC after: 3 days
show more ...
|
#
790c2471 |
| 19-Nov-2007 |
John Baldwin <jhb@FreeBSD.org> |
Bump up the number of ttys supported by pty(4) to 512 by making use of [pt]ty[lmnoLMNO][0-9a-v].
MFC after: 3 days Reviewed by: rwatson
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
ee7093a6 |
| 09-Jan-2007 |
Warner Losh <imp@FreeBSD.org> |
Remove California Regent's clause 3, per letter
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
db256336 |
| 26-Jan-2006 |
Olivier Houchard <cognet@FreeBSD.org> |
Teach openpty() how to deal with pts.
|
Revision tags: release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
547fa0d9 |
| 18-Oct-2003 |
Mark Murray <markm@FreeBSD.org> |
ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.
|
#
0ebec5d3 |
| 14-Jun-2003 |
Mark Murray <markm@FreeBSD.org> |
Tidy up. Sort headers.
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
be04b6d1 |
| 22-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Remove 'register' keyword.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
8719c58f |
| 01-Oct-2001 |
Matthew Dillon <dillon@FreeBSD.org> |
Add __FBSDID()s to libutil
|