Commit aad8d6b2 authored by Tong Sun's avatar Tong Sun

New upstream version 4.0.2

parent 364224c2
# let git show off diff hunk headers, help git diff -L:
# https://git-scm.com/docs/gitattributes
*.c diff=c
configure diff=nodiff
# omit from git archive
.gitattributes export-ignore
.gitignore export-ignore
.travis.yml export-ignore
# for linguist; let github identify our project as C++
/config/* linguist-vendored
/m4/* linguist-vendored
*.md linguist-documentation
shc.1 linguist-documentation
/doc/* linguist-documentation
*.html linguist-documentation
*.css linguist-vendored
*.js linguist-vendored
*.xml linguist-vendored
*.in linguist-vendored diff=nodiff
*.m4 linguist-vendored diff=nodiff
*.scan linguist-vendored
shc linguist-vendored diff=nodiff
src/.deps
src/shc
src/shc.o
*Makefile
config.status
/build
/autom4te.cache
*.scan
/img
/doc
*.bak
/.project
/.settings
*.png
*.jpg
*.log
a.out
*.x
*.x.c
dist: xenial
sudo: required
language: c
before_install:
- sudo apt-get update -q
- sudo apt install dash bash ash ksh zsh tcsh csh rc
script:
- ./autogen.sh
- ./configure
- make
- make test
......@@ -40,7 +40,7 @@ It then uses the system compiler to compile a stripped binary which
behaves exactly like the original script.
Upon execution, the compiled binary will decrypt and execute the code
with the shell \f[C]\-c\f[] option.
Unfortunatelly, it will not give you any speed improvement as a real C
Unfortunately, it will not give you any speed improvement as a real C
program would.
.PP
\f[B]shc\f[]\[aq]s main purpose is to protect your shell scripts from
......
......@@ -265,7 +265,7 @@ static const char * RTC[] = {
" BPF_STMT(BPF_LD+BPF_W+BPF_ABS, offsetof(struct seccomp_data, nr)),",
"",
" /* list of allowed syscalls */",
" Allow(exit_group), /* exits a processs */",
" Allow(exit_group), /* exits a process */",
" Allow(brk), /* for malloc(), inside libc */",
" Allow(mmap), /* also for malloc() */",
" Allow(munmap), /* for free(), inside libc */",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment