[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #49148] Replace the use of read /dev/kmem by a sysca

From: anonymous
Subject: [screen-devel] [bug #49148] Replace the use of read /dev/kmem by a syscall for AIX platforms
Date: Wed, 21 Sep 2016 15:31:06 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0


                 Summary: Replace the use of read /dev/kmem by a syscall for
AIX platforms
                 Project: GNU Screen
            Submitted by: None
            Submitted on: Wed 21 Sep 2016 03:31:04 PM UTC
                Category: Feature Request
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
           Fixed Release: None
         Planned Release: None
           Work Required: None



Screen gets the system load average to display it.
These values are retrieve using syscalls for some platforms, and when no
specific code is provided, by default, they are retrieved by "read

Currently screen for AIX platforms falls in the default code (read
The request is to provide specific code to get the system load average values
using a syscall for AIX platforms, which is cleaner.
This avoids to keep open /dev/kmem during all the screen session.

Moreover, as the AIX kernel is compiled in 64 bits, the values currently
returned are false when compiled in 32 bits.

Attached below a patch for version 4.4.0


File Attachments:

Date: Wed 21 Sep 2016 03:31:04 PM UTC  Name:
screen-4.4.0.loadaverage-kernelinfo.patch  Size: 1kB   By: None
Patch for version 4.4.0


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]