Date: Sun, 27 Feb 2000 11:01:50 -0800 From: "Jordan K. Hubbard" <jkh@zippy.cdrom.com> To: "Andrey A. Chernov" <ache@nagual.pp.ru> Cc: jkh@freebsd.org, current@freebsd.org Subject: Re: login.c patch Message-ID: <69930.951678110@zippy.cdrom.com> In-Reply-To: Your message of "Sun, 27 Feb 2000 17:39:43 %2B0300." <20000227173942.A80404@nagual.pp.ru>
index | next in thread | previous in thread | raw e-mail
approved
> Test condition is always true which is not supposed.
>
> Please approve this patch.
>
> --- login.c.bak Sun Feb 20 22:52:16 2000
> +++ login.c Sun Feb 27 17:35:35 2000
> @@ -382,9 +382,9 @@
> refused("Home directory not available", "HOMEDIR", 1);
> if (chdir("/") < 0)
> refused("Cannot find root directory", "ROOTDIR", 1);
> - pwd->pw_dir = "/";
> if (!quietlog || *pwd->pw_dir)
> printf("No home directory.\nLogging in with home = \"/\
".\n");
> + pwd->pw_dir = "/";
> }
> (void)seteuid(euid);
> (void)setegid(egid);
>
> --
> Andrey A. Chernov
> <ache@nagual.pp.ru>
> http://nagual.pp.ru/~ache/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69930.951678110>
