KernelTrap: BSD Jail With LSM Framework

Written By
Web Webster
Web Webster
Sep 15, 2004

“Serge Hallyn posted a set of three patches to the lkml that
together implement a subset of the BSD Jail functionality into the
Linux kernel using the Linux Security Modules (LSM) framework.
Serge explains that with the patch, ‘a process in a jail lives
under a chroot which is not vulnerable to the well-known
chdir(…)(etc)chroot(.) attack against normal chroots, and may be
locked to one ip address.’

“The third patch in the set contains documentation for the
module, which notes that in addition to the features listed above,
if a process is in a jail it cannot mount or unmount, it cannot
send signals outside of the jail, it cannot ptrace processes
outside of the jail, it cannot create devices, it cannot renice
processes, it cannot load or unload kernel modules, it cannot
change network settings, and it cannot see the contents of /proc/
entries of processes not within the same jail…”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.