1306
|
|
|
Teddy Hogeborn |
19 days ago
|
|
|
1305
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1304
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1303
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1302
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1301
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1300
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1299
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1298
|
|
Eliminate compiler warnings
Many programs use nested functions, which now result in a linker warning about executable stack. Hide this warning. Also, rewrite a loop in the plymouth plugin to avoid warning about signed overflow. This change also makes the plugin pick the alphabetically first process entry instead of the last, in case many plymouth processes are found (which should be unlikely).
* Makefile (plugin-runner, dracut-module/password-agent, plugins.d/password-prompt, plugins.d/mandos-client, plugins.d/plymouth): New target; set LDFLAGS to add "-Xlinker --no-warn-execstack". * plugins.d/plymouth.c (get_pid): When no pid files are found, and we are looking through the process list, go though it from the start instead of from the end, i.e. in normal alphabetical order and not in reverse order.
|
Teddy Hogeborn |
2 months ago
|
|
|
1297
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1296
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1295
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1294
|
|
Make all required directories when installing
When installing into a normal system, one can assume that target directories, such as /usr/bin, already exists. But when installing into a subdirectory for the purpose of creating a package, one cannot assume that all directories already exist. Therefore, when installing, we must not check if any directories exist, and must instead always create any directories we want to install into.
* Makefile (confdir/mandos.conf, confdir/clients.conf, install-html): Use the "-D" option to "install" instead of creating the directory separately. (install-server): Move creation of $(CONFDIR) down to before it is needed. Don't check if the $(TMPFILES) or $(SYSUSERS) directories exist; instead create them by using the "-D" option to "install". Create the $(PREFIX)/sbin directory. Always use "--target-directory" if possible; i.e. if the file name is the same. Create the $(DBUSPOLICYDIR) and $(DESTDIR)/etc/init.d directories by using the "-D" option to "install". Don't check if the $(SYSTEMD) directory exists; instead create it by using the "-D" option to "install". Create the $(DESTDIR)/etc/default and $(MANDIR)/man8 directories by using the "-D" option to "install". Create the $(MANDIR)/man5 directories explicitly. (install-client-nokey): Remove unnecessary creation of the $(CONFDIR) directory. Don't check if the $(SYSUSERS) directory exists; instead create it by using the "-D" option to "install". Move the "--directory" argument to be the first argument, for clarity. Create the $(PREFIX)/sbin directory. Use the "-D" argument to "install" when installing $(INITRAMFSTOOLS)/hooks/mandos, $(INITRAMFSTOOLS)/conf.d/mandos-conf, $(INITRAMFSTOOLS)/conf-hooks.d/zz-mandos, $(INITRAMFSTOOLS)/scripts/init-premount/mandos, $(INITRAMFSTOOLS)/scripts/local-premount/mandos, $(DRACUTMODULE)/ask-password-mandos.path, and $(DRACUTMODULE)/dracut-module/ask-password-mandos.service. Create the $(MANDIR)/man8 directory.
Reported-By: Erich Eckner <erich@eckner.net> Thanks: Erich Eckner <erich@eckner.net> for analysis
|
Teddy Hogeborn |
2 months ago
|
|
|
1293
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1292
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1291
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1290
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1289
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1288
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|
1287
|
|
|
Teddy Hogeborn |
2 months ago
|
|
|