summaryrefslogtreecommitdiffstats
path: root/sys/link.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-10-16 16:42:22 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-10-16 16:42:22 -0400
commitd8aca3ff2501f9a77e22e5afb7a30380aed205af (patch)
treea27db1749a35aea07317406f170a2d9b2a799ce7 /sys/link.h
parent548506392b789f58b1556a6ffca917441e1d89fd (diff)
downloadjove-kernel-d8aca3ff2501f9a77e22e5afb7a30380aed205af.tar.gz
jove-kernel-d8aca3ff2501f9a77e22e5afb7a30380aed205af.tar.bz2
jove-kernel-d8aca3ff2501f9a77e22e5afb7a30380aed205af.zip
remove explicit framebuffer in kernel. reduce locking in syscalls
Diffstat (limited to 'sys/link.h')
-rw-r--r--sys/link.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/link.h b/sys/link.h
index 5659101..38e0b7e 100644
--- a/sys/link.h
+++ b/sys/link.h
@@ -21,16 +21,10 @@ void link_lock(jove_link_obj_t *link);
void link_unlock(jove_link_obj_t *link);
jove_owned_obj_t *link_deref(jove_link_obj_t *link);
-jove_owned_obj_t *link_try_deref(jove_link_obj_t *link);
-
-jove_perm_obj_t link_traverse(jove_owned_obj_t *link, lockstack_t *lockstack);
-jove_perm_obj_t link_try_traverse(jove_owned_obj_t *link, lockstack_t *lockstack);
-
-/**Try to retrieve an object from the object directory, resolving each link as it's encountered.
- * Permissions are preserved through traversal, meaning objects are limited by their
- * objdir permissions.*/
-jove_perm_obj_t link_try_traverse_objdir(jove_owned_obj_t *objdir,
- lockstack_t *lockstack, size_t pathlen, objpath_part_t *path);
+jove_perm_obj_t link_traverse(jove_owned_obj_t *link);
+jove_perm_obj_t link_traverse_objdir(jove_obj_t *objdir,
+ size_t pathlen,
+ objpath_part_t *path);
jove_obj_t link_unlink(jove_owned_obj_t *link);
int link_new(jove_owned_obj_t *target_obj, jove_owned_obj_t *untyped_obj, uint8_t permissions);