Giter Club home page Giter Club logo

Comments (4)

robertswiecki avatar robertswiecki commented on August 16, 2024 1

Ha.. seems uClibc is rather incomplete when it comes to certain features. prlimit64 will be easy to bypass using syscall, mkostemp probably too. As for sys_sigabbrev I guess we need our own sigtoname function. Ok, letme try.

from nsjail.

robertswiecki avatar robertswiecki commented on August 16, 2024 1

Please try at HEAD - with c4a57d5 - though I don't have uClibc handy to test now

from nsjail.

ebadi avatar ebadi commented on August 16, 2024

Everything works except that you missed one occurrence of prlimit64 in cmdline.c. I got it compiled by replacing it with containSetLimit64 but I'm not sure if dropping the last parameter is safe !

__rlim64_t cmdlineParseRLimit(int res, const char *optarg, unsigned long mul)
{
	struct rlimit64 cur;
	if (prlimit64(0, res, NULL, &cur) == -1) {
		PLOG_F("getrlimit(%d)", res);
	}

from nsjail.

ebadi avatar ebadi commented on August 16, 2024

It is safe to replace prlimit64 with getrlimit.

Thanks again :)

from nsjail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.