bugzilla-daemon at mindrot.org
2013-Jun-01  16:47 UTC
[Bug 2111] New: Android does not properly implement utmp or wtmp.
https://bugzilla.mindrot.org/show_bug.cgi?id=2111
            Bug ID: 2111
           Summary: Android does not properly implement utmp or wtmp.
           Product: Portable OpenSSH
           Version: 6.2p1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Build system
          Assignee: unassigned-bugs at mindrot.org
          Reporter: nathan.osman at gmail.com
Created attachment 2283
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2283&action=edit
Disables utmp and wtmp for the Android platform.
After applying the latest patches for Android support in OpenSSH that
are set for inclusion in 6.3p1, I received the following errors from
gcc:
  loginrec.c: In function 'construct_utmp':
  loginrec.c:665:17: error: 'DEAD_PROCESS' undeclared (first use in
this function)
  loginrec.c:665:17: note: each undeclared identifier is reported only
once for each function it appears in
  loginrec.c: At top level:
  loginrec.c:727:45: warning: 'struct utmpx' declared inside parameter
list [enabled by default]
  loginrec.c:727:45: warning: its scope is only this definition or
declaration, which is probably not what you want [enabled by default]
  ...
This is because Android does not properly implement utmp or wtmp. It
should be disabled when cross-compiling for the platform. I have
attached a patch that disables both of these.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2013-Jun-01  23:22 UTC
[Bug 2111] Android does not properly implement utmp or wtmp.
https://bugzilla.mindrot.org/show_bug.cgi?id=2111
Darren Tucker <dtucker at zip.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au
             Blocks|                            |2076
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2013-Jun-02  16:03 UTC
[Bug 2111] Android does not properly implement utmp or wtmp.
https://bugzilla.mindrot.org/show_bug.cgi?id=2111
Darren Tucker <dtucker at zip.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
--- Comment #1 from Darren Tucker <dtucker at zip.com.au> ---
Applied, thanks.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2015-Aug-11  13:03 UTC
[Bug 2111] Android does not properly implement utmp or wtmp.
https://bugzilla.mindrot.org/show_bug.cgi?id=2111
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.