~ubuntu-branches/ubuntu/raring/lightdm/raring-security

« back to all changes in this revision

Viewing changes to src/vt.c

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-06-21 11:47:33 UTC
  • mfrom: (1.1.29)
  • Revision ID: package-import@ubuntu.com-20120621114733-dq336honh99voym4
Tags: 1.3.1-0ubuntu1
* New upstream release:
  - Don't set PAM_XDISPLAY or PAM_XAUTHDATA if not supported
  - Add lock-memory option, enabled by default, to prevent paging memory
    to disk.
  - Write utmp records for sessions
  - Install PAM configuration
  - Run greeters inside the "lightdm-greeter" PAM service
  - Handle setresgid and setresuid not being available
  - Use xsession directory from lightdm.conf in liblightdm
* debian/rules:
  - Install lightdm-greeter PAM config
* debian/lightdm.lightdm-greeter.pam:
  - PAM configuration for greeters

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
{
31
31
    int fd;
32
32
 
33
 
    fd = g_open ("/dev/console", O_RDONLY | O_NOCTTY);
 
33
    fd = g_open ("/dev/console", O_RDONLY | O_NOCTTY, 0);
34
34
    if (fd < 0)
35
35
        g_warning ("Error opening /dev/console: %s", strerror (errno));
36
36
    return fd;