]> git.armaanb.net Git - stagit.git/commit
add OpenBSD unveil support
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 1 Dec 2019 17:31:07 +0000 (18:31 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 1 Dec 2019 17:31:07 +0000 (18:31 +0100)
commitedee68f398f5b190f4be0127338956c0a2500662
tree94788cd2df391b83cc7782a89d690302bd5216f0
parentb5607f75afb9c6e6e6ab49128f9760d3538809cd
add OpenBSD unveil support

The unveil() system call first appeared in OpenBSD 6.4.

For stagit it has the following properties now:

- stagit-index: only read-access to the file-system for the specified
  directories/repositories.
- stagit: read-access to the specified directory/repository.
  read-write and creation access to the current directory for the output files.
  read-write and creation access to the specified cache file.
stagit-index.c
stagit.c