Coder Social home page Coder Social logo

snap-confine's People

Contributors

chipaca avatar drizzt avatar kyrofa avatar lool avatar mikix avatar mvo5 avatar mwhudson avatar sergiusens avatar teknoraver avatar tyhicks avatar vicamo avatar vorlonofportland avatar vosst avatar zyga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

snap-confine's Issues

Merge snap-confine into snapd!

To make development of the whole stack smoother and benefit from the advanced QA done on the snapd tree we've decided to merge snap-confine into snapd effective immediately.

This project will be updated to contain a shim README file when the move is complete.

mark glib2 only as test dependency

please add an option to disable test compilation and not require glib2 devel files,
it's a pain to compile glib2 (and all its dependencies) on openwrt

The calls for seccomp prevent Krita from running with nvidia

Bind mounting /var/lib/snapd/seccomp also seems to fail with this:
DEBUG: bind mounting /var/lib/snapd/seccomp to /tmp/snap.rootfs_TjFah9/var/lib/snapd/seccomp
cannot bind mount /var/lib/snapd/seccomp to /tmp/snap.rootfs_TjFah9/var/lib/snapd/seccomp. errmsg: No such file or directory

Snap-confine fails to pass checks if dmesg is root restricted

For security reasons, my system only allows root to view dmesg, so 3 of the snap-confine tests fail with an "Operation not permitted" error. Is there a way the checks could be modified so this doesn't result in failures? Here is the test-suite.log:
/===============================================
snap-confine 1.0.34: tests/test-suite.log
/===============================================

/# TOTAL: 19
/# PASS: 16
/# SKIP: 0
/# XFAIL: 0
/# FAIL: 3
/# XPASS: 0
/# ERROR: 0

.. contents:: :depth: 2

FAIL: test_complain_missed
/==========================

Test that near misses of complain fail./test_complain_missed: line 30: 15052 Bad system call "$L" snap.name.app /bin/true 2> /dev/null
dmesg: read kernel buffer failed: Operation not permitted
: FAIL
FAIL test_complain_missed (exit status: 1)

FAIL: test_restrictions
/=======================

Test that seccomp filtering kills processes./test_restrictions: line 25: 15064 Bad system call "$L" snap.name.app /bin/true 2> /dev/null
dmesg: read kernel buffer failed: Operation not permitted
: FAIL
FAIL test_restrictions (exit status: 1)

FAIL: test_unrestricted_missed
/==============================

Test that near misses of unrestricted fail./test_unrestricted_missed: line 30: 15166 Bad system call "$L" snap.name.app /bin/true 2> /dev/null
dmesg: read kernel buffer failed: Operation not permitted
: FAIL
FAIL test_unrestricted_missed (exit status: 1)

mount-support.c: 2 * cart before the horse ?

mount-support.c:362]: (style) Array index 'offset' is used before limits check.

mount-support.c:362]: (style) Array index 'offset' is used before limits check.

Suggest sanity check array indexes before use, not after.

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.