My Lemmy Oracle
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Hal-5700X@sh.itjust.works to Technology@lemmy.worldEnglish ·
edit-2
24 hours ago

Linux Kernel Rust Code Sees Its First CVE Vulnerability

www.phoronix.com

external-link
message-square
36
fedilink
  • cross-posted to:
  • [email protected]
129
external-link

Linux Kernel Rust Code Sees Its First CVE Vulnerability

www.phoronix.com

Hal-5700X@sh.itjust.works to Technology@lemmy.worldEnglish ·
edit-2
24 hours ago
message-square
36
fedilink
  • cross-posted to:
  • [email protected]
  • Technus@lemmy.zip
    link
    fedilink
    English
    arrow-up
    57
    arrow-down
    1
    ·
    20 hours ago

    Because Rust lets you choose when something is unsafe vs writing all unsafe in code all the time:

    Note the other 159 kernel CVEs issued today for fixes in the C portion of the codebase

    • setVeryLoud(true);@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 hours ago

      I wonder if this can be adjusted for LoC count in each language

      • Victor@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 hour ago

        Not sure if that’s a fair metric yet.

        • setVeryLoud(true);@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          15 minutes ago

          It’s not, I have no better idea

    • ryannathans@aussie.zone
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      2
      ·
      19 hours ago

      Yes same concept as other languages like C#

      • Technus@lemmy.zip
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        2
        ·
        14 hours ago

        You go ahead and write an OS kernel in C# then.

        • ryannathans@aussie.zone
          link
          fedilink
          English
          arrow-up
          7
          ·
          11 hours ago

          Why the hell would you do that

          • Technus@lemmy.zip
            link
            fedilink
            English
            arrow-up
            3
            ·
            39 minutes ago

            Why would you bring up C# in a thread about kernel programming?

            • ryannathans@aussie.zone
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              23 minutes ago

              Talking about how unsafe is not some new fancy rust feature and exists in other languages. Your comment makes it sound like the choice is some new wild computing concept.

              • AItoothbrush@lemmy.zip
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 minutes ago

                Bruh do you actually not get it. The point of rust is that its memory safe(with a huge grain of salt in the case of low level programming) and is a language you can write kernels in. Youre not gonna write a kernel in C# so it doesnt really matter for a discussion about kernels.

        • boonhet@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          3
          ·
          13 hours ago

          Here, someone already wrote a bare bones one. Of course that also uses an unsafe block lol

Technology@lemmy.world

technology@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


  • @[email protected]
  • @[email protected]
  • @[email protected]
  • @[email protected]
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.82K users / day
  • 8.21K users / week
  • 14.6K users / month
  • 30.8K users / 6 months
  • 1 local subscriber
  • 77.8K subscribers
  • 18.2K Posts
  • 751K Comments
  • Modlog
  • mods:
  • L3s@lemmy.world
  • enu@lemmy.world
  • Technopagan@lemmy.world
  • L4sBot@lemmy.world
  • L3s@hackingne.ws
  • L4s@hackingne.ws
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org