OpenBSD/src L4MsKFq — libexec/getty main.c pathnames.h
Theodore Wynnychenko discovered the gettytab "lo=path" feature didn't work anymore with unveil wired to /usr/bin/login. So let's parse gettytab a bit earlier to learn which login path to unveil. Later in the loop gettytab is re-parsed, if the login changes re-exec getty to reach the unveil from the top. ok millert, also discussed with mestre
Version | Delta | File | |
---|---|---|---|
1.50 | +24 | -9 | libexec/getty/main.c |
1.4 | +2 | -1 | libexec/getty/pathnames.h |
+26 | -10 | 2 files |