142 Commits

Author SHA1 Message Date
elliptic-kitty
93e4a25d33 Update README.md 2024-03-31 01:52:38 -07:00
elliptic
5a8f8db0ef readability fix 2024-03-31 04:04:56 -04:00
elliptic
44f2abf12b fix copy_file_range usage. This function should be call in a loop 2024-03-31 04:04:33 -04:00
elliptic
89918fd1f0 should use the exec's env instead of container's 2024-03-23 13:39:52 -04:00
elliptic
852d1d7b53 Improve error message 2024-03-23 13:34:44 -04:00
elliptic
e0d880fd22 allow creating network without alias/bridge interface and subnet 2024-03-23 13:33:50 -04:00
elliptic
b9b0412ffb improve error message on initial socket connect failure 2024-03-23 11:23:55 -04:00
elliptic
26c2873652 run through all the unwind steps even if one unwind failed 2024-03-17 05:38:36 -04:00
elliptic
be76b594b3 add --insecure flag so people can push to their http insecure, localhost registry 2024-02-26 03:44:26 -05:00
elliptic
701ca34903 cargo fmt 2024-02-25 23:07:37 -05:00
elliptic
8080395fd2 properly propagate process exit code 2024-02-22 02:15:43 -05:00
elliptic
224b564595 bug fixes 2024-02-16 04:32:20 -05:00
elliptic
fbbe26aad1 expose network configuration as envs to containers 2024-02-13 02:43:11 -05:00
elliptic
4b7999fb04 should not add loopback addresses to non-VNET jails 2024-02-13 02:42:06 -05:00
elliptic
e535d01de9 handle and log errors when importing tar image 2024-02-11 19:53:50 -05:00
elliptic
664aadc86b add 127.0.0.1/8 and ::1/128 by default, unless --no-lo0 flag is specified 2024-02-05 03:28:22 -05:00
elliptic
4b860f6126 tun/tap device support 2024-02-04 20:25:51 -05:00
(null)
accb425018 allow selecting main ip by network name or static ip address 2023-12-28 03:15:15 -05:00
(null)
0137a2f49f fix duplicating arguments issue 2023-12-28 03:14:48 -05:00
Ka Ho Ng
a9945ec1c8 Merge pull request #9 from elliptic-kitty/symlink_fix
Symlink fix
2023-10-22 17:16:39 -04:00
elliptic-kitty
7f77fc0520 Merge branch 'michael-yuji:main' into symlink_fix 2023-10-13 13:40:56 -07:00
Ka Ho Ng
d79ad0504d Merge pull request #7 from elliptic-kitty/main
upgrade nix -> 0.27.1, address kqueue EINTR issue
2023-10-10 04:12:12 -04:00
elliptickitten
1c46f7dbef fix symlink for realpath 2023-10-03 01:08:46 -04:00
elliptickitten
958394a966 refactor for typos and clearer code 2023-10-02 22:28:12 -04:00
elliptickitten
0524516bda upgrade nix -> 0.27.1, address kqueue EINTR issue 2023-10-02 20:04:11 -04:00
michael-yuji
ee68c2ff01 fix typo 2023-09-25 00:38:20 -07:00
michael-yuji
020ddf3a8f Update README.md 2023-09-25 00:36:39 -07:00
(null)
dee1b6e073 Merge branch 'main' of github.com:michael-yuji/xc 2023-09-22 18:09:52 -04:00
michael-yuji
4e4676d0fe Merge pull request #2 from daniloegea/clap_fixes
Clap fixes for the "run" command
2023-09-23 01:58:28 -04:00
(null)
840bb7aabf Add a workaround when re-jailing ZFS datasets; remove accidental closefrom(); 2023-09-22 18:08:46 -04:00
(null)
fa707922c8 cargo fmt fixes 2023-09-21 14:36:00 -04:00
(null)
8261d7676b Add option to make using netgroup easier 2023-09-21 12:54:19 -04:00
Danilo Egea Gondolfo
f6e4879eff xc-bin: fix group short name in the "run" command
Clap is panicking with "Short option names must be unique".
2023-09-20 11:04:46 +01:00
Danilo Egea Gondolfo
f3529c418b xc-bin: move argument "publish" to its own struct
Clap is panicking with "Argument names must be unique" when the
subcommand "run" is called. The reason is that it shares the argument
"publish" with CreateArgs and it's being flattened.

Move it to its own struct and reuse it in "create" and "run".
Note that it seems to be happening in other places as well but
this commit only fixes the "run" command.
2023-09-20 11:04:29 +01:00
(null)
fab8007e15 remove unused module 2023-09-14 21:01:26 -04:00
(null)
192798d20d make usdt support optional 2023-09-14 21:00:36 -04:00
(null)
abe9f65dc2 Better error logging when exec failed 2023-09-14 12:01:27 -04:00
(null)
121fd2a728 fix symlink path search 2023-09-14 12:00:50 -04:00
(null)
89715e2137 fix relative path search 2023-09-14 10:31:16 -04:00
(null)
97b34b9724 write default inventory if existing inventory file does not exist 2023-09-14 10:28:28 -04:00
(null)
071b15be80 fix aarch64 build 2023-09-13 15:48:01 -04:00
(null)
caa81b4260 cargo fmt fix 2023-09-13 15:02:54 -04:00
(null)
3b364d7ad4 add create jail dtrace probe 2023-09-13 15:02:39 -04:00
(null)
fd1cce20d6 Merge develop branch, see detail commit
This commit containers the following changes:
- Fix fd forwarding in exec
- Fix exists_exec algorithm for path to executable contains symlinks parent
- Fix mount destination when using as alias
- Add Device directive for changing devfs rules
2023-09-13 11:41:40 -04:00
(null)
853a1ed33e oops, fix devfs rule not caching 2023-09-09 20:27:05 -04:00
(null)
d3b493b961 refactor 2023-09-08 04:42:06 -04:00
(null)
543b7133cf check for kern.elf64.fallback_brand sysctl 2023-09-07 23:00:39 -04:00
(null)
cc10ca249e fix osstring serialize/deserialize bugs 2023-09-07 04:35:46 -04:00
(null)
f830ac9bfe cargo fmt fixes 2023-09-06 02:40:11 -04:00
(null)
c87093593f check evidence during mount 2023-09-06 02:38:55 -04:00