13 Commits

Author SHA1 Message Date
a7e5d7d92d
Fixed undefined order of permissions 2025-05-20 10:50:58 +02:00
2f82ab63ac
Fixed undefined permission check errors 2025-05-20 09:24:07 +02:00
90d94c7615
Fixed SQL injection
Fixed an emabarassignly obvious SQL injection bug by throwing
`sqlite3_exec` away.
2025-05-19 21:18:19 +02:00
e4dbc5becc
Fixed wrong pid bug
The issue was that the thread ID wasn't factored in. A presumption was,
that FUSE already returned the PID, not TID. The issue was fixed by
implementing a function that translates the TID to PID.
2025-05-14 20:37:32 +02:00
c8f19fe30d
Fixed invalid pi bug 2025-05-13 17:59:32 +02:00
c7ec5819c6
Fixed typos 2025-05-08 10:16:02 +02:00
420f34a7f3
Added folder globbing for permanent permissions 2025-05-05 18:53:05 +02:00
c4ae40c7bd
Finished the new dialogue functionality 2025-05-04 17:09:28 +02:00
92378c1cde
add exerimental deny flag in the tables
For now, perm table does not set the thrid parameter to anything useful
2025-04-15 18:57:57 +02:00
BritishTeapot
aea6e94ad7 Fixed incorrect database creation flags 2025-04-02 18:56:31 +02:00
BritishTeapot
07e4ce3eb4 Added missing license headers 2025-04-01 19:56:10 +02:00
BritishTeapot
4c8092378b Added database protection with setuid.
Added the initial support for the database protection with the setuid
mechanism. In the beginning the program creates(or opens) the database
as a special user, and then switches to the real uid and functions
normally.
2025-04-01 19:34:15 +02:00
BritishTeapot
7e111b16b7 Added permanent permissions
Finally implemented the permanent permission tables using sqlite3. For
now, performance wasn't a consideration. There are a lot of
optimizations that could be made, like having prepared queries. The code
remains fairly untested.
2025-03-30 19:06:57 +02:00