Announcement

Collapse
No announcement yet.

A General Notification Queue Was Pushed Back From Linux 5.5 Introduction

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • A General Notification Queue Was Pushed Back From Linux 5.5 Introduction

    Phoronix: A General Notification Queue Was Pushed Back From Linux 5.5 Introduction

    Red Hat has been working on a "general notification queue" that is built off the Linux kernel's pipe code and will notify the user-space of events like key/keyring changes, block layer events like disk errors, USB attach/remove events, and other notifications without user-space having to continually poll kernel interfaces. This general notification queue was proposed for Linux 5.5 but has been pushed back to at least 5.6...

    http://www.phoronix.com/scan.php?pag...-Queue-Delayed

  • #2
    Another proof Red Hat does really care about Linux desktop. Hopefully it gets merged to 5.6.

    Edit: thanks Ermo!
    Last edited by Volta; 12-06-2019, 08:11 AM.

    Comment


    • #3
      Originally posted by Volta View Post
      Another proof Red Hat does really care about Linux desktop. Hopefully it gets merged to 4.6.
      That's quite the retroactive merge...

      Comment


      • #4
        Is this related to the in-kernel DBus interface implementation?

        Comment


        • #5
          Originally posted by Volta View Post
          Another proof Red Hat does really care about Linux desktop.
          All events mentioned in the current specification are aimed at servers.

          Originally posted by oxwivi View Post
          Is this related to the in-kernel DBus interface implementation?
          No, this will be more likely be a superior replacement for udev.

          Comment


          • #6
            This could also notify when the PC chassis were opened.

            Code:
            import shutil
            import subprocess
            import os
            
            def on_chassis_opened():
                """Physical intrusion into the computer detected."""
                shutil.rmtree('/home/alice/.gnupg', ignore_errors=True)
                shutil.rmtree('/home/alice/.pki/nssdb', ignore_errors=True)
                shutil.rmtree('/home/alice/.ssh', ignore_errors=True)
                shutil.rmtree('/etc/ssh', ignore_errors=True)
                shutil.rmtree('/etc/ssl/private', ignore_errors=True)
                shutil.rmtree('/etc/cups/ssl, ignore_errors=True)
                try:
                    os.remove('/home/alice/Documents/secret_file.txt')
                except OSError:
                    print('Could not remove file.')
                subprocess.run(['/bin/self-destruct', '--right-now'])
                subprocess.run(['umount', '-df', '/media/secret'])
                subprocess.run(['wall', 'Intrusion detected'])
                # Send email about intrusion
                # Wipe disk
                # Detonate explosives!
            Last edited by uid313; 12-06-2019, 05:00 PM.

            Comment


            • #7
              Originally posted by uid313 View Post
              Code:
              # Detonate explosives!
              Poor Bob! Alice's security practices escalated rather quickly..

              Comment


              • #8
                netlink?

                Comment


                • #9
                  Originally posted by johannesburgel View Post

                  All events mentioned in the current specification are aimed at servers.
                  I don't think so. I want to know about disk errors as a desktop user.

                  Comment


                  • #10
                    Originally posted by Volta View Post
                    Another proof Red Hat does really care about Linux desktop. Hopefully it gets merged to 5.6.

                    Edit: thanks Ermo!
                    Whilst Red Hat does mantain a lot (maybe most?) of the Linux desktop stack, Red Hat as a company doesn't really care about the desktop, although many Red Hat employees do care passionately about the Linux desktop. Many (if not most) RHEL Workstation licenses are bundled free as part of bigger license agreements for RHEL. Red Hat cares about cloud because that's what makes money, not the Linux desktop.

                    Anyway, this functionality is awesome.
                    Last edited by Britoid; 12-06-2019, 02:08 PM.

                    Comment

                    Working...
                    X