]> Kevux Git Server - fll/commit
Progress: controller program and other changes.
authorKevin Day <thekevinday@gmail.com>
Sat, 26 Dec 2020 03:39:17 +0000 (21:39 -0600)
committerKevin Day <thekevinday@gmail.com>
Sat, 26 Dec 2020 03:39:17 +0000 (21:39 -0600)
commitbeafe7afee539331be1e1147875b0a73ba08c22d
tree8e1583dcd266fe031ebb70b067ab41ed08bacc1c
parent09d4a28ebc771082be1ae306353837d4ae43b8aa
Progress: controller program and other changes.

Lots of changes with the most notable described below.

This adds support for capabilities, which depends on the external libcap (-lcap).
This introduces a problem because it is POSIX complaint in the sense of a draft and Linux has adopted it.
The end result is that instead of being in libc, the functions are defined in libcap.
To address this complication, a new project f_capability, is added to conditional compile in support and otherwise provide stubs.
This allows the rest of the projects to just call the f_capability functions without needing as many macros.
A define macro is still needed and the appropriate libary (-lcap) is still needed (or not if disabled).

I have further observed that when adding -lcap, the ar progam's ficklness on the order becomes a problem.
As a temporary work around, I am appending the "build_libraries" after all libaries introduced by a mode.
55 files changed:
build/level_0/settings
build/level_2/settings
build/monolithic/settings
build/scripts/bootstrap-example.sh
build/scripts/bootstrap.sh
level_0/f_account/c/account.c
level_0/f_account/c/account.h
level_0/f_capability/c/capability-common.h [new file with mode: 0644]
level_0/f_capability/c/capability.c [new file with mode: 0644]
level_0/f_capability/c/capability.h [new file with mode: 0644]
level_0/f_capability/data/build/defines [new file with mode: 0644]
level_0/f_capability/data/build/dependencies [new file with mode: 0644]
level_0/f_capability/data/build/settings [new file with mode: 0644]
level_0/f_status/c/status.h
level_1/fl_conversion/c/conversion.c
level_1/fl_execute/c/execute-common.h
level_1/fl_execute/c/execute.h
level_1/fl_execute/data/build/defines
level_1/fl_execute/data/build/dependencies
level_1/fl_execute/data/build/settings
level_1/fl_status/c/status.c
level_1/fl_status/c/status.h
level_2/fll_execute/c/execute.h
level_2/fll_execute/c/private-execute.c
level_2/fll_execute/c/private-execute.h
level_2/fll_execute/data/build/defines
level_2/fll_execute/data/build/dependencies
level_2/fll_execute/data/build/settings
level_2/fll_status/c/status.c
level_3/controller/c/controller.c
level_3/controller/c/controller.h
level_3/controller/c/private-common.h
level_3/controller/c/private-controller.c
level_3/controller/c/private-controller.h
level_3/controller/c/private-rule.c
level_3/controller/c/private-rule.h
level_3/controller/data/build/defines
level_3/controller/data/build/dependencies
level_3/controller/data/build/settings
level_3/controller/data/settings/example/rules/command/multiple.rule
level_3/controller/data/settings/rules/program/terminal.rule
level_3/controller/data/settings/rules/service/dbus.rule
level_3/controller/data/settings/rules/service/logger.rule
level_3/controller/data/settings/rules/service/mouse.rule
level_3/controller/data/settings/rules/task/clock.rule
level_3/controller/data/settings/rules/task/keyboard.rule
level_3/controller/documents/rule.txt
level_3/controller/specifications/rule.txt
level_3/fake/c/private-build.c
level_3/fake/data/build/defines
level_3/fake/data/build/dependencies
level_3/fake/data/build/settings
level_3/firewall/data/build/defines
level_3/firewall/data/build/dependencies
level_3/firewall/data/build/settings