grub/normal
phcoder e7e1f93ff6 2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
Authentication support.

	* commands/password.c: New file.
	* conf/common.rmk (pkglib_MODULES): Add password.mod.
	(password_mod_SOURCES): New variable.
	(password_mod_CFLAGS): Likewise.
	(password_mod_LDFLAGS): Likewise.
	(normal_mod_SOURCES): Add normal/auth.c.
	* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add commands/password.c and
	normal/auth.c.
	* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
	* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	* conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
	* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	* conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
	* include/grub/auth.h: New file.
	* include/grub/err.h (grub_err_t): New enum value
	GRUB_ERR_ACCESS_DENIED.
	* include/grub/menu.h (grub_menu_entry): New fields 'restricted' and
	'users'.
	* include/grub/normal.h (grub_cmdline_get): New argument 'history'.
	* normal/cmdline.c (grub_cmdline_get): New argument 'history'. All
	users updated.
	* normal/auth.c: New file.
	* normal/main.c (grub_normal_add_menu_entry): Handle --users option.
	(grub_cmdline_run): Don't allow to go to command line without
	authentication.
	* normal/menu.c (grub_menu_execute_entry): Handle restricted entries.
	* normal/menu_entry.c (grub_menu_entry_run): Don't allow editing
	menuentry without superuser rights.
	* normal/menu_viewer.c (grub_menu_viewer_show_menu): Don't exit if
	user isn't a superuser.
2009-08-24 23:55:06 +00:00
..
auth.c 2009-08-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-24 23:55:06 +00:00
autofs.c 2009-05-02 Bean <bean123ch@gmail.com> 2009-05-02 19:49:34 +00:00
cmdline.c 2009-08-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-24 23:55:06 +00:00
color.c 2008-03-26 Pavel Roskin <proski@gnu.org> 2008-03-26 13:01:02 +00:00
completion.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
datetime.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
dyncmd.c 2009-05-02 Bean <bean123ch@gmail.com> 2009-05-02 19:49:34 +00:00
handler.c 2009-04-14 Bean <bean123ch@gmail.com> 2009-04-14 18:12:14 +00:00
main.c 2009-08-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-24 23:55:06 +00:00
menu.c 2009-08-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-24 23:55:06 +00:00
menu_entry.c 2009-08-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-24 23:55:06 +00:00
menu_text.c 2009-05-02 Bean <bean123ch@gmail.com> 2009-05-02 19:49:34 +00:00
menu_viewer.c 2009-08-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-08-24 23:55:06 +00:00
misc.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00