Commits
- Commit:
e9cb759efd41aed81455fed9fa4911a7ec4974e8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
forgot to log the path for a unveil error code path
- Commit:
7ab5915a47ccee484c56a2a483edf1e995232055
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changelog
- Commit:
a9d11f81b94d08e2c75dac892056b1071b182f9e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add landlock support on linux
landlock is applied only to the ui process to drop fs access and in the
fs process to limit where telescope can read/write files.
The network process is more difficult to landlock because while in
theory it doesn't need *any* fs access, in practice it needs to read (at
least) files inside /etc/ for DNS to work.
- Commit:
b9fcc0e904dfa51639d0c1c94de7a7b864b9a72a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix build, missing include on fs.h
- Commit:
a74a9f2c271986623066ab2de989c71c04091ebb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move the CONFIGURATION FILE section above default keys
It's clearer to specify first the configuration file before dumping
all the keys and available functions.
- Commit:
73389b007e8ed58f142c7c10d5dd157d992581dc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tweak the documentation wrt XDG and ~/.telescope
Point out that *by default* telescope uses XDG-style directories, but
if ~/.telescope exists XDG is ignored.
While here also use a shorter URL for the XDG spec and add it to the
STANDARDS section of the manpage.
- Commit:
cb703731dd78cabe6a02e5b9d60c4b2c390b047e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
advertise xdg-migrate.sh in the contrib README.md
- Commit:
9fd1687fe048e92e5569881bea568bd87a272de9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changelog
- Commit:
fd0beb5314ccdf3ae1b4a9ab0b8b5279a6e1dac0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve unveil' error reporting
- Commit:
4b877649af0f6237f46cf7d033fc896aa7cf8ca6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix sandbox wrt XDG-style directories
- Commit:
fb3d08c1f0590014fcb4230feb8fda8fa056773e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move declarations from telescope.h in fs.h
and while there also publish various path. It's easier and better to
have all of them exported from here instead of hardcoding them in other
files (such as sandbox.c)
- Commit:
444dad86beaaa60bd96790c7097aa66bb331e645
- From:
- Omar Polo <op@omarpolo.com>
- Date:
dirname fix
dirname(3) is really one of the worst part of POSIX, portability-wise.
Implementors can decide to either modify the passed string or return a
pointer to an internal storage.
The current code fails when dirname returns a pointer to an internal
storage because between the strcmp call and the mkdir we go into a
recursion that can modify `path'. We can't use copy either because
*some* implementation of dirname would have changed that.
How to escape from this hell? Take yet another copy of the path!
- Commit:
eb2ed626f304f3f1e00711c20d76ecfd8dcc5ce7
- From:
- Andrea Feletto <andrea@andreafeletto.com>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
support xdg basedir
Use XDG-compliant paths unless ~/.telescope already exists. Provide a
script to migrate to XDG-style directory for users who wish to do so.
- Commit:
633bf6d87d247b0fddf6259b176f491c3f736318
- From:
- Omar Polo <op@omarpolo.com>
- Date:
delete old (and wrong) comment
it's been a while since we're using a lockfile to protect against
multiple telescope instances.
- Commit:
798e1c954749cdd5b3042212050c8ddae75a9c52
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changelog