platform/upstream/nsjail.git
9 years agoBetter logging for clone failure 1.0
Jagger [Wed, 12 Aug 2015 02:32:34 +0000 (04:32 +0200)]
Better logging for clone failure

9 years agoUse 'R' as an alias for bindmount_ro
Jagger [Wed, 12 Aug 2015 02:27:57 +0000 (04:27 +0200)]
Use 'R' as an alias for bindmount_ro

9 years agoMore verbose error messages for mounting files/dirs
Jagger [Tue, 11 Aug 2015 23:17:54 +0000 (01:17 +0200)]
More verbose error messages for mounting files/dirs

9 years agoMove tmpfs mounting before pivot_chroot
Jagger [Tue, 11 Aug 2015 22:58:26 +0000 (00:58 +0200)]
Move tmpfs mounting before pivot_chroot

9 years agoCreate a file for sockets/devs/files bind mounts
Jagger [Tue, 11 Aug 2015 12:34:17 +0000 (14:34 +0200)]
Create a file for sockets/devs/files bind mounts

9 years agoChecks for strdup() result. Use remountBindMount since we have it
Jagger [Wed, 15 Jul 2015 01:33:13 +0000 (03:33 +0200)]
Checks for strdup() result. Use remountBindMount since we have it

9 years agoMerge pull request #2 from jtolds/master
robertswiecki [Tue, 14 Jul 2015 20:11:18 +0000 (22:11 +0200)]
Merge pull request #2 from jtolds/master

Typo fix

9 years agoTypo fix
JT Olds [Mon, 13 Jul 2015 22:36:53 +0000 (16:36 -0600)]
Typo fix

9 years agotmpfs_size (size_t) + indent
Jagger [Tue, 7 Jul 2015 22:54:59 +0000 (00:54 +0200)]
tmpfs_size (size_t) + indent

9 years agoMerge pull request #1 from jtolds/master
robertswiecki [Tue, 7 Jul 2015 21:43:56 +0000 (23:43 +0200)]
Merge pull request #1 from jtolds/master

A collection of small changes (need feedback)

9 years agoMake tmpfs size configurable
JT Olds [Tue, 7 Jul 2015 20:17:44 +0000 (14:17 -0600)]
Make tmpfs size configurable

9 years agoReturn failing exit status on timeout
JT Olds [Tue, 7 Jul 2015 20:08:54 +0000 (14:08 -0600)]
Return failing exit status on timeout

9 years agoDon't mount NODEV so stuff like /dev/null works
JT Olds [Tue, 7 Jul 2015 20:08:03 +0000 (14:08 -0600)]
Don't mount NODEV so stuff like /dev/null works

Users now need to be careful about allowing device special files
in the jail.

9 years agoupdate readme
JT Olds [Tue, 7 Jul 2015 17:54:36 +0000 (11:54 -0600)]
update readme

9 years agoImprove bindmount interface.
JT Olds [Tue, 7 Jul 2015 17:15:37 +0000 (11:15 -0600)]
Improve bindmount interface.

Now supports readonly bindmounts and
differentiating between source and target path.

9 years agoReturn child exit status in standalone mode
JT Olds [Tue, 7 Jul 2015 16:33:10 +0000 (10:33 -0600)]
Return child exit status in standalone mode

9 years agoRemove unused struct definition
Robert Swiecki [Fri, 19 Jun 2015 14:35:02 +0000 (16:35 +0200)]
Remove unused struct definition

9 years agoIndent
Jagger [Thu, 18 Jun 2015 01:07:22 +0000 (03:07 +0200)]
Indent

9 years agoReplace self-made list of pointers with queue.h
Jagger [Thu, 18 Jun 2015 01:00:39 +0000 (03:00 +0200)]
Replace self-made list of pointers with queue.h

9 years agoInitialize nsjconf structure in the commandline module:
Robert Swiecki [Wed, 17 Jun 2015 14:52:51 +0000 (16:52 +0200)]
Initialize nsjconf structure in the commandline module:

10 years agoA crude way of cloning an eth interface
Jagger [Thu, 28 May 2015 01:37:08 +0000 (03:37 +0200)]
A crude way of cloning an eth interface

10 years ago+ .gitignore
Robert Swiecki [Wed, 27 May 2015 15:51:01 +0000 (17:51 +0200)]
+ .gitignore

10 years agoClose pipefd[1] before reading from pipefd[0]
Robert Swiecki [Wed, 27 May 2015 13:41:08 +0000 (15:41 +0200)]
Close pipefd[1] before reading from pipefd[0]

10 years agoDefine PR_SET_NO_NEW_PRIVS for older glibc-s
Robert Swiecki [Fri, 22 May 2015 12:31:08 +0000 (14:31 +0200)]
Define PR_SET_NO_NEW_PRIVS for older glibc-s

10 years agoMore instructive error message
Robert Swiecki [Thu, 21 May 2015 16:40:15 +0000 (18:40 +0200)]
More instructive error message

10 years agoMore descriptive help for -T
Jagger [Wed, 20 May 2015 22:36:28 +0000 (00:36 +0200)]
More descriptive help for -T

10 years agoREADME.md
Jagger [Sat, 16 May 2015 03:18:23 +0000 (05:18 +0200)]
README.md

10 years agoREADME.md
Jagger [Sat, 16 May 2015 03:10:13 +0000 (05:10 +0200)]
README.md

10 years agoREADME.md
Jagger [Fri, 15 May 2015 23:55:25 +0000 (01:55 +0200)]
README.md

10 years agoLog function names
Robert Swiecki [Fri, 15 May 2015 14:42:56 +0000 (16:42 +0200)]
Log function names

10 years agoLogs from the child process (namespaced) are proxied to the parent
Robert Swiecki [Fri, 15 May 2015 14:02:15 +0000 (16:02 +0200)]
Logs from the child process (namespaced) are proxied to the parent
process

10 years agoFormatting #4
Jagger [Fri, 15 May 2015 00:30:53 +0000 (02:30 +0200)]
Formatting #4

10 years agoFormatting #3
Jagger [Fri, 15 May 2015 00:27:51 +0000 (02:27 +0200)]
Formatting #3

10 years agoFormatting #2
Jagger [Fri, 15 May 2015 00:27:23 +0000 (02:27 +0200)]
Formatting #2

10 years agoBetter formatting of README.md
Jagger [Fri, 15 May 2015 00:25:55 +0000 (02:25 +0200)]
Better formatting of README.md

10 years agoInfo
Jagger [Fri, 15 May 2015 00:08:13 +0000 (02:08 +0200)]
Info

10 years agoIndentation + add missing macros to the seccomp helper
Jagger [Fri, 15 May 2015 00:05:36 +0000 (02:05 +0200)]
Indentation + add missing macros to the seccomp helper

10 years agoREADME -> README.md
Robert Swiecki [Thu, 14 May 2015 23:45:18 +0000 (01:45 +0200)]
README -> README.md

10 years agoInitial import
Robert Swiecki [Thu, 14 May 2015 21:44:48 +0000 (23:44 +0200)]
Initial import