mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Fix bugs and add security features to redbean
- Fix a regression with the previous change that broke redbean - Add chroot(), resource limit, seccomp, and other stuff to redbean - Write lots and lots of documentation - Iron out more system call issues
This commit is contained in:
parent
f1dfa4bdfa
commit
7166679620
182 changed files with 1855 additions and 918 deletions
|
@ -43,6 +43,8 @@ TEST(clone, test) {
|
|||
EXPECT_NE(-1, (tid = clone(thread, stack + FRAMESIZE,
|
||||
CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND,
|
||||
0, &ptid, &tls, &ctid)));
|
||||
while ((nowl() - t) < 1 && !x) __builtin_ia32_pause();
|
||||
while ((nowl() - t) < 1 && !x) {
|
||||
__builtin_ia32_pause();
|
||||
}
|
||||
ASSERT_EQ(42, x);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue