bugGNU Screen - Bugs: bug #49148, Replace the use of read /dev/kmem...

 
 

bug #49148: Replace the use of read /dev/kmem by a syscall for AIX platforms

Submitted by:  None
Submitted on:  Wed 21 Sep 2016 03:31:04 PM UTC  
 
Category:  Feature Request Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  Alexander Naumov <anaumov>
Open/Closed:  Closed Release:  4.4.0
Fixed Release:  4.6.2 Planned Release:  4.6.2
Work Required:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 23 Oct 2017 12:39:05 PM UTC, comment #2: 

Should be fixed in 4.6.2 release.

Amadeusz Sławiński <amade>
Project Administrator
Wed 04 Oct 2017 01:46:02 PM UTC, comment #1: 

It's in git now (screen-v4 branch). Good luck with testing :)

For the next time: please provide author's information for your patch.

Alexander Naumov <anaumov>
Project AdministratorIn charge of this item.
Wed 21 Sep 2016 03:31:04 PM UTC, original submission:  

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 /dev/kmem".

Currently screen for AIX platforms falls in the default code (read /dev/kmem).
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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #38581:  screen-4.4.0.loadaverage-kernelinfo.patch added by None (1KiB - application/octet-stream - Patch for version 4.4.0)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by amade (Posted a comment)
  • -email is unavailable- added by anaumov (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-10-23 amade StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.6.2
    2017-10-04 anaumov StatusIn Progress => Ready For Test
        Planned Release4.5.1 => 4.6.2
    2017-02-03 anaumov StatusNone => In Progress
        Planned ReleaseNone => 4.5.1
    2017-02-03 anaumov Assigned toNone => anaumov
    2016-09-21 None Attached File- => Added screen-4.4.0.loadaverage-kernelinfo.patch, #38581

    Back to the top


    Powered by Savane 3.7