Coder Social home page Coder Social logo

Comments (5)

arnopo avatar arnopo commented on June 29, 2024

Are you talking about metal_device_open?
Could you please explain your use case so that we understand the need?

from libmetal.

anon00000000 avatar anon00000000 commented on June 29, 2024

Hello and yes. Use case is just making sure it is never written to even in case of program malfunction; a bit like using the correct mode in open(3) even when RDWR would work for every case.
We already cast all of our metal_io_virt pointers to const pointers, but that's tacit security, OS enforced protection like mprotect is a bit stronger.

from libmetal.

arnopo avatar arnopo commented on June 29, 2024

I suppose that your need is for Linux user space, right?
I think that the best solution to move forward is that you send a PR (even if it is an RFC), that implements what you would expect.
This would be a better base for discussions.

from libmetal.

anon00000000 avatar anon00000000 commented on June 29, 2024

I guess so

from libmetal.

github-actions avatar github-actions commented on June 29, 2024

This issue has been marked as a stale issue because it has been open (more than) 45 days with no activity.

from libmetal.

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.