Giter VIP home page Giter VIP logo

steamos_mesa's Issues

grsec - Denied RWX mmap of /usr/lib32/mesa/libGL.so.1.2.0

Team Fortress is crashing on linux-grsec. In the past, the only flag I had enabled for hl2_linux was "m" (disabled mprotect), but now I have to do "em" otherwise TF2 will crash the entire system.

[amarildo@amarildo ~]$ journalctl | grep /usr/lib32/mesa/libGL.so.1.2.0
Mar 25 14:36:30 amarildo kernel: grsec: denied RWX mmap of /usr/lib32/mesa/libGL.so.1.2.0 by /home/amarildo/.local/share/Steam/steamapps/common/Team Fortress 2/hl2_linux[hl2_linux:1902] uid/euid:1000/1000 gid/egid:100/100, parent /home/amarildo/.local/share/Steam/steamapps/common/Team Fortress 2/hl2.sh[hl2.sh:1899] uid/euid:1000/1000 gid/egid:100/100

Please fix this.

Shall the workaround for llvm.12833 be removed?

I notice a workaround for llvm.12833:
https://github.com/ValveSoftware/steamos_mesa/blob/4d8013e2b0914bfb0472778ebf15e27faa0d39fb/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp

  /*
  * Workaround http://llvm.org/bugs/show_bug.cgi?id=12833
  */
 StringRef MArch = "";
 StringRef MCPU = "";
 Triple TT(unwrap(M)->getTargetTriple());
 JIT = builder.create(builder.selectTarget(TT, MArch, MCPU, MAttrs));

This compiler bug is already fixed: https://bugs.llvm.org/show_bug.cgi?id=12833
Shall this workaround be removed?

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.