Debian Patches

Status for ttysnoop/0.12d-6

Patch Description Author Forwarded Bugs Origin Last update
01_from_package_0_12d_1.diff Debian specific patches to ttysnoop-0.12d. Recovered from ttysnoop_0.12d-1.diff.gz.
Javier Fernandez-Sanguino Pen~a <jfs@computer.org>
Paul Haggart <phaggart@debian.org>
Alberto Gonzalez Iniesta <agi@inittab.org> invalid 2005-03-25
02_unix98_pty.diff Implement support for UNIX98 pty's. Peter Samuelson <peter@p12n.org> invalid 2011-11-11
03_address_length.diff Properly initialize address length in accept socket. Ken-ichirou MATSUZAWA no 2007-02-22
10_compiler_warnings.diff Cleaning of compiler warnings and minor observations. A handful missing prototypes need suitable header files.
.
Neglected va_end().
.
Missing return values.
.
Differing time representation length for 64 bits systems is overcome
by a direct assignment, instead of passing a pointer in time().
.
Separation of assignment and test when executing a switch in suspend state.
This improves code readability.
Mats Erik Andersson <debian@gisladisker.se> no 2011-11-25
12_tailor_makefile.diff Minor changes to improve on previous adaptions. Correct a mistaken target dependency.
.
Let additional compiler flags influence the build process.
.
Minor errors in the manual page.
.
A compiler attribute.
Mats Erik Andersson <debian@gisladisker.se> not-needed 2010-06-21
13_predictable_client.diff Predictable behaviour of client program. Better error recovery and exeption handling.
.
Ignore the SIGPIPE trigger.
.
Give priority to reading the device being snooped at,
only then reading from standard input.
Mats Erik Andersson <debian@gisladisker.se> no 2010-06-21
14_predictable_server.diff Predictable behaviour of server. Deny executaion without sufficient priviliges.
.
Closing of sockets as the client user is leaving. This sets an
otherwise blocking connection free again, ready to receive new
login attempts.
.
Removal of the extinct UNIX socket from '/var/spool/ttysnoop/'
.
Minor health checks.
Mats Erik Andersson <debian@gisladisker.se> no 2010-06-21
15_socket_name_length.diff Better protection of UNIX socket names. Ensure that a NUL character is always present in the socket name.
Use SUN_LEN to calculate name lengths for optimal portability.

diff -Naurp ttysnoop-0.12d.debian/ttysnoop.c ttysnoop-0.12d/ttysnoop.c
Mats Erik Andersson <debian@gisladisker.se> no 2011-11-11
16_corrupt_utmp_for_pts.diff Use distinct UTMP identity. The original code implemented an incorrect
abbreviation of pseudo terminal names in the
PTY name space. This corrupts the UTMP_FILE
of GNU/Linux systems.

diff -Naurp ttysnoop-0.12d.debian/ttysnoops.c ttysnoop-0.12d/ttysnoops.c
Mats Erik Andersson <debian@gisladisker.se> no debian 2011-11-17
17_portability_and_qa.diff Improve portability to achieve better QA Relax as far as possible any coding that disturbs
building in other unices. Target GNU/OpenSolaris as
a first step.
.
Legacy coding for UTMP remains at the time being.
.
It is hoped that the measures undertaken is this
patch set will improve the quality of this software,
by successively identifying the corner cases.

diff -Naurp ttysnoop-0.12d.debian/logwtmp.c ttysnoop-0.12d/logwtmp.c
Mats Erik Andersson <debian@gisladisker.se> no 2011-11-25
18_hardening.diff Improve hardening. The existing makefile does not make use of CPPFLAGS
and LDFLAGS. Thus hardened builds are never successful.
Add these two flags.
.
Add checks on return values from chown() and chmod()
in source `ttysnoops.c', failing if either one is
unsuccessful.
Mats Erik Andersson <debian@gisladisker.se> no 2013-06-27

All known versions for source package 'ttysnoop'

Links