Skip to content

Commit

Permalink
Moved parts of state.c to db_file.
Browse files Browse the repository at this point in the history
Lock/temporary file locating functions.
This should make state file simplier, but complicated
a bit db_file.c. Creating init/fini functions
of db backend could solve thing nicely.
  • Loading branch information
Tomasz bla Fortuna committed Jan 3, 2010
1 parent 342c9d7 commit 9fab54d
Show file tree
Hide file tree
Showing 7 changed files with 225 additions and 183 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ Trying to sort tasks according to their priority.
* [+] Because of signals - redo permissions. (SUID required)
* [+] The key/counter length is not checked when read from file.
* [+] Big thing - Move state files to /etc + SUID.
* [?] Any possibility to change directory from /etc/otpasswd?
There's config so it can't be defined there.
* [?] Global DB should work with users which aren't in passwd.
* [?] fsync before rename/unlock (see ext4 problem)
* [?] Check if lock files are links. if so. fail. Or rather always unlink
before overwritting.
* [?] Logging into syslog from utility if SUID; Also deny -v.
Expand Down
Loading

0 comments on commit 9fab54d

Please sign in to comment.