/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

  • Committer: Teddy Hogeborn
  • Date: 2014-06-14 22:55:11 UTC
  • Revision ID: teddy@recompile.se-20140614225511-0ge6tce2esulf65t
In plugin-runner, do scandirat() or scandir() instead of readdir().

* plugin-runner.c (set_cloexec_flag): Only define if O_CLOEXEC is not
                                      defined, it is not called
                                      otherwise.
  (main): Remove variables "dir" and "dirst"; new variable "dir_fd".
          Use scandirat() if available, scandir() otherwise, both
          using new filter function "good_name".  Removed checking of
          plugin file name patterns; this is now done by "good_name".
          Do not set FD_CLOEXEC flag on plugin_fd, since fexecve()
          will not work with it.  Use pipe2() to set O_CLOEXEC on pipe
          FD's (if possible).
  (main/good_name): New filter function for scandirat() or scandir().
Filename Latest Rev Last Changed Committer Comment Size
..
.bzr-builddeb 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
debian 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
network-hooks.d 505.3.10 13 years ago Teddy Hogeborn * network-hooks.d: New directory. * network-hooks. Diff
plugins.d 13 16 years ago Björn Påhlsson Added following support: Pluginbased client handle Diff
.bzrignore 585 12 years ago Teddy Hogeborn * .bzrignore (statedir): Added. 188 bytes Diff Download File
clients.conf 609 12 years ago Teddy Hogeborn * clients.conf: Convert all time intervals to new 3.1 KB Diff Download File
common.ent 237.4.43 10 years ago Teddy Hogeborn * Makefile (version): Changed to "1.6.5". * NEWS ( 93 bytes Diff Download File
COPYING 24.1.51 16 years ago Björn Påhlsson Added configuration files support for mandos-clien 34.2 KB Diff Download File
DBUS-API 556 12 years ago Teddy Hogeborn * DBUS-API (se.recompile.Mandos.Client.LastChecker 6.7 KB Diff Download File
dbus-mandos.conf 24.1.186 13 years ago Björn Påhlsson transitional stuff actually working documented cha 820 bytes Diff Download File
default-mandos 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in 174 bytes Diff Download File
init.d-mandos 648 10 years ago Teddy Hogeborn Update init script to modern standards. * init.d- 4.3 KB Diff Download File
File initramfs-tools-hook 640 11 years ago Teddy Hogeborn Use architecture libdir. Instead of always using 6 KB Diff Download File
initramfs-tools-hook-conf 237.2.19 15 years ago Teddy Hogeborn * initramfs-tools-hook-conf: Security bug fix: Add 407 bytes Diff Download File
File initramfs-tools-script 487 13 years ago Teddy Hogeborn * initramfs-tools-script: Abort if plugin-runner i 3.6 KB Diff Download File
File initramfs-unpack 624 11 years ago Teddy Hogeborn * initramfs-unpack: Bug fix: Made executable. 2.2 KB Diff Download File
INSTALL 618 11 years ago Teddy Hogeborn * mandos: Bug fix: Make boolean options work from 5 KB Diff Download File
intro.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 15.3 KB Diff Download File
legalnotice.xml 174 16 years ago Teddy Hogeborn * legalnotice.xml: Copy DocBook 4.4-formatted text 1 KB Diff Download File
Makefile 237.4.43 10 years ago Teddy Hogeborn * Makefile (version): Changed to "1.6.5". * NEWS ( 15.9 KB Diff Download File
File mandos 698 10 years ago Teddy Hogeborn Fix mandos server "--servicename" option, broken s 117 KB Diff Download File
mandos-clients.conf.xml 626 11 years ago Teddy Hogeborn * Makefile (CFLAGS, LDFLAGS): Keep default flags f 18.2 KB Diff Download File
File mandos-ctl 237.4.43 10 years ago Teddy Hogeborn * Makefile (version): Changed to "1.6.5". * NEWS ( 18.8 KB Diff Download File
mandos-ctl.xml 608 12 years ago Teddy Hogeborn * Makefile (check): Also check mandos-ctl. * mando 16.3 KB Diff Download File
File mandos-keygen 237.4.43 10 years ago Teddy Hogeborn * Makefile (version): Changed to "1.6.5". * NEWS ( 9.7 KB Diff Download File
mandos-keygen.xml 631 11 years ago Teddy Hogeborn * mandos (priority): Bug fix: Add even more magic 14.3 KB Diff Download File
File mandos-monitor 237.4.43 10 years ago Teddy Hogeborn * Makefile (version): Changed to "1.6.5". * NEWS ( 29.1 KB Diff Download File
mandos-monitor.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 6 KB Diff Download File
mandos-options.xml 634 11 years ago Teddy Hogeborn * debian/control (Build-Depends): Changed debhelpe 4.9 KB Diff Download File
mandos.conf 631 11 years ago Teddy Hogeborn * mandos (priority): Bug fix: Add even more magic 1.4 KB Diff Download File
mandos.conf.xml 634 11 years ago Teddy Hogeborn * debian/control (Build-Depends): Changed debhelpe 8.7 KB Diff Download File
mandos.lsm 237.4.43 10 years ago Teddy Hogeborn * Makefile (version): Changed to "1.6.5". * NEWS ( 912 bytes Diff Download File
mandos.service 647 10 years ago Teddy Hogeborn Specify BusName in systemd service file. * mandos 660 bytes Diff Download File
mandos.xml 636 11 years ago Teddy Hogeborn Fall back to /var/run for pidfile if /run is not a 23.5 KB Diff Download File
NEWS 237.4.43 10 years ago Teddy Hogeborn * Makefile (version): Changed to "1.6.5". * NEWS ( 11.5 KB Diff Download File
overview.xml 183 16 years ago Teddy Hogeborn * Makefile (install-client-nokey): Do "&&" instead 926 bytes Diff Download File
plugin-runner.c 703 10 years ago Teddy Hogeborn In plugin-runner, do scandirat() or scandir() inst 35.2 KB Diff Download File
plugin-runner.conf 342 15 years ago Teddy Hogeborn * initramfs-tools-hook: Bug fix: Add "--userid" an 380 bytes Diff Download File
plugin-runner.xml 544 12 years ago Teddy Hogeborn Updated year in copyright notices. 20.5 KB Diff Download File
README 550 12 years ago Teddy Hogeborn * README: Hint that the intro(8mandos) manual page 409 bytes Diff Download File
TODO 696 10 years ago Teddy Hogeborn Bug fix for mandos-client: Run the network hook, n 5.1 KB Diff Download File