Summary: | Add support for GNU/Hurd | ||
---|---|---|---|
Product: | ConsoleKit | Reporter: | Michael Biebl <mbiebl> |
Component: | Daemon | Assignee: | william.jon.mccann |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | medium | CC: | toscano.pino |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552393 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
GNU/Hurd support
GNU sysdeps backend Fix unconditional PATH_MAX usage |
Description
Michael Biebl
2009-10-26 10:00:40 UTC
Any news? Note I have an account on freedesktop, so in case I could be added to the project and maintaining the proposed platform stuff. Hmm, in the PAM module you *must* check the return value of malloc(). PAM stuff is security relevant, and this looks like a vulnerability if the user somehow manages to trigger an OOM. (In reply to comment #2) > Hmm, in the PAM module you *must* check the return value of malloc(). PAM stuff > is security relevant, and this looks like a vulnerability if the user somehow > manages to trigger an OOM. Good point, I'll fix that shortly and update the patch (which needs the implementation of a new function in sysdeps, recently added in HEAD). Created attachment 38819 [details] [review] GNU sysdeps backend This patch provides a first implementation of sysdeps backend for GNU/Hurd. It is updated to ConsoleKit 0.4.2. Created attachment 38820 [details] [review] Fix unconditional PATH_MAX usage This patch uses a custom malloc'ed buffer instead of a PATH_MAX fixed one, given that PATH_MAX is not mandatory in POSIX and not implemented in GNU/Hurd. Committed as e722b11a8240991b57bc4f5269c4f375fb6d29af and 4d06b16b69f8e9323ce128c92db4bb3e99cbd3aa Thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.