Package: ttysnoop / 0.12d-5
Metadata
Package | Version | Patches format |
---|---|---|
ttysnoop | 0.12d-5 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
01_from_package_0_12d_1.diff | (download) |
Makefile |
13 8 + 5 - 0 ! |
debian specific patches to ttysnoop-0.12d. |
02_unix98_pty.diff | (download) |
ttysnoops.c |
75 63 + 12 - 0 ! |
implement support for unix98 pty's. |
03_address_length.diff | (download) |
ttysnoops.c |
2 1 + 1 - 0 ! |
properly initialize address length in accept socket. |
10_compiler_warnings.diff | (download) |
common.c |
4 4 + 0 - 0 ! |
cleaning of compiler warnings and minor observations. A handful missing prototypes need suitable header files. . Neglected va_end(). . Missing return values. . |
12_tailor_makefile.diff | (download) |
Makefile |
4 2 + 2 - 0 ! |
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. |
13_predictable_client.diff | (download) |
ttysnoop.c |
60 46 + 14 - 0 ! |
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. |
14_predictable_server.diff | (download) |
ttysnoops.c |
32 28 + 4 - 0 ! |
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. |
15_socket_name_length.diff | (download) |
ttysnoop.c |
6 4 + 2 - 0 ! |
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. |
16_corrupt_utmp_for_pts.diff | (download) |
ttysnoops.c |
9 6 + 3 - 0 ! |
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. |
17_portability_and_qa.diff | (download) |
Makefile |
23 18 + 5 - 0 ! |
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. |