From 248e80cb5d5a411cc6362919f1b495f29fe57f9d Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Tue, 7 Jan 2025 18:17:42 -0600 Subject: Figure out how to link into the filesystem --- notes.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'notes.txt') diff --git a/notes.txt b/notes.txt index 66af513..0227e6a 100644 --- a/notes.txt +++ b/notes.txt @@ -34,6 +34,10 @@ on each system I infect, so I still need something else mkstemp might be quite a useful function for doing the encrypting thing, but having a template name might be problematic. I may just have to rename everything before linking. Maybe linkat() would work +libevent might be useful to slam everything together for async IO that I don't need to real with, but that also sounds like it would +be a lot of work that I might not need to do. I'm going to do threadpooling first and then make a branch that uses libevent to see +if there's any appreciable improvement in performance + ============== LIST OF POTENTIALLY USEFUL GNU C FUNCTIONS ============== scandir() - Gets a list of files in a directory: https://www.gnu.org/software/libc/manual/html_node/Scanning-Directory-Content.html link() - Hardlinks one file to another location: https://www.gnu.org/software/libc/manual/html_node/Hard-Links.html -- cgit v1.2.3