Commit Graph

62 Commits

Author SHA1 Message Date
Michal Bednarski
ac0142e709 proot: Update package
termux/proot#151 link2symlink AArch32 support
2021-05-10 17:14:03 +02:00
Michal Bednarski
28a7fcd2fe proot: Update with stability fixes
Changes that were on master for some time but not released,
fixes termux/proot#152
2021-03-07 20:58:33 +01:00
Leonid Pliushch
0729cb17ab
proot: termux-chroot needs to bind /linkerconfig/ld.config.txt on Android 11
Without /linkerconfig/ld.config.txt, dynamic linker will unable to find
shared libraries provided by APEX modules.
2021-02-01 18:58:41 +02:00
Leonid Pliushch
37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Michal Bednarski
18d08d148a proot: Update with sysvipc crash fix
termux/proot#138
2020-12-06 16:47:51 +01:00
Michal Bednarski
48c017d882 proot: Update with fixes for 32-bit shm
termux/proot#134
2020-11-29 18:22:12 +01:00
Michal Bednarski
9315f82fea proot: Update package
termux/proot#133
2020-11-15 14:02:12 +01:00
Michal Bednarski
f6c66c64e8 proot: update package
Adding --sysvipc option for emulation
of System V IPC
2020-11-07 12:42:46 +01:00
Michal Bednarski
1e36a1f2c6 proot: Update package
termux/proot#126
2020-10-26 17:57:17 +01:00
michalbednarski
237f30f417 proot: Update package (#5951)
Add statx() syscall support (termux/proot#122 termux/proot-distro#14)

Add readlinkat(fd, "", ...) support (termux/proot#123)
2020-10-17 20:18:39 +02:00
Michal Bednarski
c75ffc2e21 proot: Update package for better x86 support
termux/proot#117
2020-08-15 10:43:58 +02:00
Michal Bednarski
46baf948cd proot: Update to fix brk() before execve()
Fixes termux/proot#102
2020-04-25 18:37:03 +03:00
michalbednarski
de05072dcb proot: Update to fix PEEKDATA error on statfs64 (#5015)
termux/proot#96
2020-03-07 10:04:21 +00:00
Henrik Grimler
a89e9994ce termux-chroot: bind /apex if it exists
Fixes https://github.com/termux/proot/issues/95
2020-03-02 16:50:47 +01:00
Michal Bednarski
c9259ccd0b proot: Update package
* Report /dev/shm as tmpfs (termux/proot#79)
* Avoid accessing nonexistent files on buggy f2fs file system (termux/proot#87)
* Change TCSAFLUSH flag to TCSANOW (termux/proot#88)
2019-12-28 18:02:29 +01:00
Leonid Pliushch
4c5ab082ac proot: bump revision 2019-12-25 22:41:34 +02:00
Michal Bednarski
a46a55517f proot: Update package
* termux/proot#77 - Support running 32-bit guests on AArch64
* termux/proot#75 - Fixed crashes on 32-bit ARM devices
                    with kernels using new syscall order
2019-10-06 15:41:20 +02:00
Michal Bednarski
96b818c1dc proot: Update package
* Added SIGSYS handler for waitpid (Required for bash on Android 10)
* Added SIGSYS handler for sendmmsg on x86 (for DNS when using emulator)
* Fixed void syscall handling on 32 bit ARM
* Prevent tracees from setting SUID_DUMP_DISABLE
2019-09-05 17:26:12 +03:00
Tom Yan
c2864997bf proot: remove unnecessary export 2019-06-26 12:14:11 +03:00
Michal Bednarski
2827d7b7df proot: Update for nested chroot() support
termux/proot#34
2019-05-05 18:51:34 +03:00
Michal Bednarski
510e244316 Upgrade proot with emulated chroot(/) fix
termux/proot#55
2019-03-19 21:47:11 +01:00
Michal Bednarski
ee89d5c54e proot: Update with fixes for sudo's fstat
- termux/proot#54 (Fix fstat() in processes which sets themselves
  undumpable (SUID_DUMP_DISABLE))
- termux/proot#52 (Partial fix for issue, handle setuid on Android Pie)
2019-02-24 19:02:41 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Michał Bednarski
786f1d94f7 proot: Update with fixed unbundled loader build 2018-09-19 23:22:11 +02:00
Michał Bednarski
9e3dd1dba2 proot: Update with tmpdir canonicalization
* Canonicalize tmp dir (termux/proot#40 by @tomty89)
* Merge changes from UserLAnd (althrough most are off
  by default, termux/proot#39 by @corbinlc)
* Puting loader in libexec instead of extracting
  it on every run
2018-09-18 03:33:48 +02:00
Michał Bednarski
e41a3abf26 proot: Update package
* Fixes running on broken Huawei devices (termux/proot#15)
* Mapping of uids coming from getsockopt(SO_PEERCRED) (termux/proot#36)
* Fixed results of `strace` after SIGSYS was suppressed
* Don't fail on removing broken link2symlink (termux/proot#31)
2018-08-28 18:49:58 +02:00
Michał Bednarski
c095a4630e proot: update package (with fix for utime and sendmsg) 2018-08-06 21:50:09 +02:00
Michał Bednarski
0354a98488 proot: Update for setgid() checking euid==0 2018-07-21 03:01:48 +02:00
Michał Bednarski
3cb559afa5 proot: Update for renameat2 and libaudit fixes
Fixes termux/proot#21
Fixes termux/proot#25
2018-07-16 21:42:18 +02:00
Fredrik Fornwall
0c83303771 proot: Bump revision after patch 2018-06-24 12:05:25 +02:00
Vijay Vaidyanathan
4265175009 Changed shells were not being recognized
The check for a changed shell (e.g. by chsh) was correctly using $HOME/.termux/shell, but $HOME was being hardcoded to "/home" prior to the check.

Since most likely, $HOME is not yet "/home" (since the user is invoking termux-chroot) this test was failing to recognize changed shells (e.g. this failed with zsh).

Moving the assignment of HOME to /home after the shell has been read fixes this.
2018-06-24 12:00:00 +02:00
Michał Bednarski
11f9c73292 proot: Update to skip link2symlink rmdir handling
Fixes termux/termux-packages#2307 (aka. termux/proot#18)
2018-06-04 00:43:44 +02:00
michalbednarski
c88826236f proot: Update with fix for chroot(".") (#2464)
Update with fix by @Hax4us at termux/proot#17
2018-05-29 10:31:14 +02:00
Michał Bednarski
8cfea9198f proot: Update with fix for termux/proot#14 2018-05-14 00:57:33 +02:00
Michał Bednarski
883552be67 proot: Update to fix running debuggers inside proot 2018-04-30 00:02:49 +02:00
michalbednarski
9f0eb75dfb proot: Update for Linux >= 4.8 (#2374) 2018-04-26 21:37:19 +02:00
michalbednarski
2b65c759fa proot: Update for accept and MagiskSU support (#2235)
* Added arguments for proot to enable the use of MagiskSU from within termux-chroot.

* Restore original shebang to termux-chroot for pull-request.

* Added folder existence check to ensure MagiskSU changes don't break termux-chroot on later versions of Android, just in case.

* proot: Update for accept -> accept4 translation
2018-03-10 22:35:53 +01:00
Buck Evan
2e7375e50e Correct homepage for proot.
http://proot.me/ points to a random Japanese blog.
2018-02-25 23:22:14 +01:00
michalbednarski
71ff728d08 proot: Update package (#2156)
* Consider EACCES as permission denied in fake_id0 (instead of just EPERM)
* Add warning about termux-exec if first process fails to start
2018-02-17 00:17:17 +01:00
Michał Bednarski
8ee2451377 proot: Upgrade to skip syscalls blocked by seccomp
termux/proot#5

Also includes fix termux/termux-packages#1679
2017-11-26 21:24:15 +01:00
Fredrik Fornwall
8937106f35 proot: Bump build revision after change 2017-11-22 16:45:14 +01:00
Fredrik Fornwall
ddd429197e proot: Only bind /property_contexts if file exists
Fixes the following warning when running termux-chroot on Android 8:

proot warning: can't sanitize binding "/property_contexts":
No such file or directory
2017-11-21 05:13:54 +01:00
Fredrik Fornwall
51c7760090 Drop need of setting TERMUX_PKG_FOLDERNAME
Instead figure out the top level source folder ourselves.
2017-09-20 00:48:04 +02:00
Michał Bednarski
5b63af27b5 proot: Update to fix vfork-execve brk handling 2017-08-28 18:41:48 +02:00
Oliver Schmidhauser
8ceb581ba6 termux-chroot: Specify command to execute
Allow a command to be specified when running termux-chroot.
Example:
```
$ termux-chroot ls /
bin  data  dev  etc  home  lib  proc  property_contexts  share  storage  system  tmp  usr  var  vendor
```
This makes it possible to run scripts that include a part that needs to
be run in a chrooted environment, like a compile script.
```
./configure
make
termux-chroot make install
```

Previously it had to be done like this:
```
./configure
make
termux-chroot
cd program
make install
exit
```
2017-08-16 23:47:26 +02:00
Fredrik Fornwall
fe345c004c proot: Fix building with unified headers 2017-06-28 14:03:20 +02:00
michalbednarski
1bc0e39efc proot: Update to include --kill-on-exit support (#1106) 2017-06-25 19:04:17 +02:00
Fredrik Fornwall
47f33ba3f5 proot: Bump revision after termux-chroot change 2017-06-13 16:32:49 +02:00
Fredrik Fornwall
755cc3022e proot: /data & /property_contexts in termux-chroot (#1081)
Fixes #1076.
2017-06-13 16:21:56 +02:00