devsummit:201308:capsicum

This is an old revision of the document!


  • Intro to Capsicum by pjd
    • Problem of too many capabilities (overflowing 64 bits)
    • Debate about the best name for rights
    • New cap_rights_set() macro means the new capability representation takes the same amount of code space as the old ORing of bits.
    • libcapsicum provides services over capabilities with a libnv api
    • libcasper provides friendly interfaces to services, for example cap_getaddrinfo()
      • services include: psystem.dns, system.filesystem, system.grp, system.pwd, system.rnadom, system.socket, and system.sysctl
    • lots of newly sandboxes code: auditdistd, dhclient, file, libmagic, hastctl, hastd, kdump, …
    • Some functions such as localtime need some preparation before they can be called in capability mode. localtime() can simply be called once.
    • Some discussion of a lack documentation of capsicum syscall limitations. Robert suggests solaris thread-safety manpage entries.
  • devsummit/201308/capsicum.1377616531.txt.gz
  • Last modified: 2013/08/27 15:15
  • by BrooksDavis