ruderich.org/simon Gitweb - wall-notify/wall-notify.git/atom loglisten for wall messages and pass them to notification programhttps://ruderich.org/simon/gitweb/?p=wall-notify/wall-notify.gitSimon Ruderich <simon@ruderich.org>static/git-favicon.pngstatic/git-logo.png2015-09-22T23:58:40Zgitwebremove superfluous braces in comment2015-09-22T23:58:40ZSimon Ruderichsimon@ruderich.orgSimon Ruderichsimon@ruderich.org2015-09-22T23:58:40Zhttps://ruderich.org/simon/gitweb/?p=wall-notify/wall-notify.git;a=commitdiff;h=64d269e5e5984a1c252bfc67d7a84fb6e4b00f74
configure.ac: improve error message if no pthread is found2015-09-22T23:57:58ZSimon Ruderichsimon@ruderich.orgSimon Ruderichsimon@ruderich.org2015-09-22T23:57:58Zhttps://ruderich.org/simon/gitweb/?p=wall-notify/wall-notify.git;a=commitdiff;h=77daaed8269fb1ff0b654f168205fc7c7b6dccd6
configure.ac: improve error message if no pthread is found
configure.ac: check for setresuid/setresuid when using utmpx.h2015-09-22T23:56:47ZSimon Ruderichsimon@ruderich.orgSimon Ruderichsimon@ruderich.org2015-09-22T23:56:47Zhttps://ruderich.org/simon/gitweb/?p=wall-notify/wall-notify.git;a=commitdiff;h=4c63daac52b77c9224ff501084f79274fd531a97
configure.ac: check for setresuid/setresuid when using utmpx.h
Broken in 3553a29a54f7755debfa189db830c4b8de51826f ("drop privileges
when running as group utmp").
use EXIT_SUCCESS2014-10-23T09:32:38ZSimon Ruderichsimon@ruderich.orgSimon Ruderichsimon@ruderich.org2014-10-23T09:32:38Zhttps://ruderich.org/simon/gitweb/?p=wall-notify/wall-notify.git;a=commitdiff;h=5f81debda61d93b35c5aee600e895263a7b04ba6
set O_CLOEXEC on TTY slave/master file descriptors2014-05-18T20:25:30ZSimon Ruderichsimon@ruderich.orgSimon Ruderichsimon@ruderich.org2014-05-18T20:25:30Zhttps://ruderich.org/simon/gitweb/?p=wall-notify/wall-notify.git;a=commitdiff;h=d28191ac3e71802b939721c1f7b8b4fe509bde53
set O_CLOEXEC on TTY slave/master file descriptors
Don't leak them to the notification process.
drop group privileges before user privileges2014-05-18T20:13:23ZSimon Ruderichsimon@ruderich.orgSimon Ruderichsimon@ruderich.org2014-05-18T20:13:23Zhttps://ruderich.org/simon/gitweb/?p=wall-notify/wall-notify.git;a=commitdiff;h=4fc49b7b8d439b53f17536c11fc7f608e9e9f6d5
drop group privileges before user privileges
This is good practice because there are a few case where group
permissions can't be dropped after the user practice were dropped.
Shouldn't be an issue here, but it can't hurt.
add option -v to display current version2014-05-18T15:20:23ZSimon Ruderichsimon@ruderich.orgSimon Ruderichsimon@ruderich.org2014-05-18T15:20:23Zhttps://ruderich.org/simon/gitweb/?p=wall-notify/wall-notify.git;a=commitdiff;h=69c5d0cd4e891afaf104d286f7266559afa5a08e
add option -v to display current version
This includes the current Git commit id if a git checkout is used.
add man page2014-05-17T21:02:50ZSimon Ruderichsimon@ruderich.orgSimon Ruderichsimon@ruderich.org2014-05-17T21:02:50Zhttps://ruderich.org/simon/gitweb/?p=wall-notify/wall-notify.git;a=commitdiff;h=628ef9ac5b77a08e1fef630a3663583e2128c416
add option -m to allow wall messages from normal users2014-05-17T20:40:02ZSimon Ruderichsimon@ruderich.orgSimon Ruderichsimon@ruderich.org2014-05-17T20:40:02Zhttps://ruderich.org/simon/gitweb/?p=wall-notify/wall-notify.git;a=commitdiff;h=034afb1ec2f0079a0880a19871548b3f220b1d98
add option -m to allow wall messages from normal users
Per default only messages from root are allowed.
use getopt() to parse options2014-05-17T20:30:38ZSimon Ruderichsimon@ruderich.orgSimon Ruderichsimon@ruderich.org2014-05-17T20:30:38Zhttps://ruderich.org/simon/gitweb/?p=wall-notify/wall-notify.git;a=commitdiff;h=0177f8bdc6769e800ee986dec1b069be893f19e6