• 1 Post
  • 54 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle
















  • boatswain@infosec.pubtoLinux@lemmy.mlWhat is PID 0?
    link
    fedilink
    arrow-up
    21
    ·
    5 months ago

    The tl;dr from the article (which is actually worth a read):

    The very short version: Unix PIDs do start at 0! PID 0 just isn’t shown to userspace through traditional APIs. PID 0 starts the kernel, then retires to a quiet life of helping a bit with process scheduling and power management. Also the entire web is mostly wrong about PID 0, because of one sentence on Wikipedia from 16 years ago.




  • If XSS is your concern, check out Firefox’s Container Tabs. They allow you to set up tab groups that restrict access to cookies to only tabs in that group, so you can just, eg, set up a group for your bank and restrict it to just your bank’s site. Your session cookie etc are then not available to any other tab groups.

    I pair that with the Temporary Containers extension, so any random tab I open is in its own container. Everything is always separate.