CE process watching WIP

This commit is contained in:
2026-03-18 15:30:41 +01:00
parent 76b1533ad0
commit 77ab25bcee
18 changed files with 110 additions and 39 deletions

View File

@@ -91,12 +91,12 @@ int create_volume (const char* key, int fs_type, const char* device_key) {
return (int)do_syscall (SYS_CREATE_VOLUME, key, fs_type, device_key);
}
int env_set (int pid, const char* key, void* buffer, size_t len) {
return (int)do_syscall (SYS_ENV_SET, pid, key, buffer, len);
int env_set (int pgid, const char* key, void* buffer, size_t len) {
return (int)do_syscall (SYS_ENV_SET, pgid, key, buffer, len);
}
int env_get (int pid, const char* key, void* buffer, size_t len) {
return (int)do_syscall (SYS_ENV_GET, pid, key, buffer, len);
int env_get (int pgid, const char* key, void* buffer, size_t len) {
return (int)do_syscall (SYS_ENV_GET, pgid, key, buffer, len);
}
int exec_partial (const char* volume, const char* path) {

View File

@@ -97,10 +97,10 @@ int remove (const char* path);
int create_volume (const char* key, int fs_type, const char* device_key);
/* Set environment variable */
int env_set (int pid, const char* key, void* buffer, size_t len);
int env_set (int pgid, const char* key, void* buffer, size_t len);
/* Get environment variable */
int env_get (int pid, const char* key, void* buffer, size_t len);
int env_get (int pgid, const char* key, void* buffer, size_t len);
/* Prepare process for execution */
int exec_partial (const char* volume, const char* path);