8000 GitHub - kibab/libcapsicum: A place to hack on libcapsicum · GitHub
[go: up one dir, main page]

Skip to content
  • About

    A place to hack on libcapsicum

    Resources

    Stars

    1 star

    Watchers

    1 watching

    Forks

     
     

    Latest commit

     

    History

    31 Commits

    Folders and files

    NameName
    Last commit message
    Last commit date
     
     
     
     
     
     
     
     
     
     
     
     

    Repository files navigation

    This is userspace code intended to make Capsicum easy to use correctly.
    
    NOTE: the libcapsicum API is NOT stable, and may change at ANY time.
    
    1. Easy to Use
    libcapsicum provides a higher-level API than the kernel Capsicum primitives. It should be easier to use libcapsicum to say, "I want to start a sandbox running this stuff over here" than to program to the kernel API directly.
    
    2. Easy to Use Correctly
    There are lots of gotchas when compartmentalizing software: did you close all the files that you don't want the sandbox to access? Did libraries open any files that you're not aware of? Has anything sensitive been mapped into the address space without your knowledge? libcapsicum closes all file descriptors except the ones that you explicitly delegate, and it scrubs the address space with fexecve().
    
    

    About

    A place to hack on libcapsicum

    Resources

    Stars

    1 star

    Watchers

    1 watching

    Forks

    Releases

    Packages

    Contributors

    Languages

    0