Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE Specifiche Pagina 89

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 110
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 88
Red Hat Enterprise Linux to Oracle Solaris Porting Guide
88
Differences in PAM Data Structures and Function Calls
The following table lists the differences in data structures used by PAM on the two platforms.
TABLE 9-3. DATA STRUCTURE AND FUNCTION CALLS
RHEL ORACLE SOLARIS 11
Inside pam_start(), structure pam_message is defined
as follows:
struct pam_message {
int msg_style;
const char *msg;
};
Linux-PAM interprets the msg argument as entirely equivalent
to the following prototype:
const struct pam_message *msg[]
In Oracle Solaris, pam_message is defined as follows:
struct pam_message{
int msg_style;
char *msg; // <~~~~~ Not
defined as const
};
Oracle Solaris PAM implementation interprets this argument as
a pointer to a pointer to an array of num_msg pam_message
structures.
The pam_set_item() and pam_get_item() functions in
Linux are defined under security/pam_modules.h.
In Oracle Solaris, pam_set_item() and pam_get_item are
located in security/pam_appl.h.
item_type values supported in pam_set_item() are as
follows:
PAM_AUSER, PAM_AUTHTOK, PAM_CONV, PAM_OLDAUTHTOK,
PAM_RESOURCE, PAM_RHOST, PAM_RUSER, PAM_SERVICE,
PAM_TTY, PAM_USER, PAM_USER_PROMPT, and
PAM_REPOSITORY
The item_type PAM_SERVICE can be set only by
pam_start() and is read-only to both applications and
service modules.
For security reasons, the item_type PAM_AUTHTOK and
PAM_OLDAUTHTOK are available only to the module providers.
Return value PAM_BAD_ITEM is missing in Oracle Solaris;
instead, it has PAM_OPEN_ERR - dlopen() failed when
dynamically loading a service module.
PAM_SYMBOL_ERR means a symbol was not found.
PAM_SERVICE_ERR means there was an error in a service
module.
PAM_CONV_ERR
indicates a conversation failure.
Vedere la pagina 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 109 110

Commenti su questo manuale

Nessun commento

Ivoclar-vivadent EP 5010 manuály

Uživatelské manuály a uživatelské příručky pro Zařízení Ivoclar-vivadent EP 5010.
Poskytujeme 1 manuály pdf Ivoclar-vivadent EP 5010 ke stažení zdarma podle typů dokumentů: Uživatelský manuál






Další produkty a příručky pro Zařízení Ivoclar-vivadent

Modely Typ Dokumentu
EP5000-G2 Uživatelský manuál   Ivoclar Vivadent EP5000-G2 User Manual, 44 stránky
P300 Uživatelský manuál   Ivoclar Vivadent P300 User Manual, 36 stránky
P310 - Short Instructions Uživatelský manuál       Ivoclar Vivadent P310 - Short Instructions User Manual, 40 stránky
P510 - Short Instructions Uživatelský manuál       Ivoclar Vivadent P510 - Short Instructions User Manual, 40 stránky
Protocol Uživatelský manuál   Ivoclar Vivadent Protocol User Manual, 2 stránky
Sagittarius Uživatelský manuál   Ivoclar Vivadent Sagittarius User Manual, 2 stránky
S1 Uživatelský manuál   Ivoclar Vivadent S1 User Manual, 32 stránky
Spartan Uživatelský manuál   Ivoclar Vivadent Spartan User Manual, 2 stránky
P710 Uživatelský manuál   Ivoclar Vivadent P710 User Manual, 88 stránky
Quick Uživatelský manuál       Ivoclar Vivadent Quick User Manual, 76 stránky
SR Ivolen Uživatelský manuál       Ivoclar Vivadent SR Ivolen User Manual, 16 stránky
SR Ivocap Elastomer Uživatelský manuál       Ivoclar Vivadent SR Ivocap Elastomer User Manual, 28 stránky
SR Ivocap System Uživatelský manuál    Ivoclar Vivadent SR Ivocap System User Manual, 36 stránky
SR Triplex Hot Uživatelský manuál       Ivoclar Vivadent SR Triplex Hot User Manual, 20 stránky
Stratos 100 Uživatelský manuál       Ivoclar Vivadent Stratos 100 User Manual, 92 stránky
SR Nexco Paste Uživatelský manuál   Ivoclar Vivadent SR Nexco Paste User Manual, 64 stránky
Solarcast 20 Uživatelský manuál   Ivoclar Vivadent Solarcast 20 User Manual, 2 stránky
Spartan Plus Uživatelský manuál   Ivoclar Vivadent Spartan Plus User Manual, 2 stránky
Stratos 300 Uživatelský manuál       Ivoclar Vivadent Stratos 300 User Manual, 104 stránky
SR Adoro Uživatelský manuál   Ivoclar Vivadent SR Adoro User Manual, 88 stránky