Date: Sun, 11 Jan 2009 18:50:00 -0800 (PST) From: Christopher Horne <cth at sac.sfbay.sun.com> Subject: ddi_strdup [PSARC/2009/015 Self Review]
... Add ddi_strdup(9F), strdup(9F), and strfree(9F) to the DDI PROBLEM: Currently there are 6 version of strfree() and 18 versions of strdup() in the kernel. SOLUTION: The following interfaces will be introduced as Committed in <sys/sunddi.h> when _KERNEL is defined. char *ddi_strdup(const char *str, int flag); char *strdup(const char *str); void strfree(char *str); Does the project include cleaning up occurrences of the old versions of strfree() and strdup() mentioned above and replacing then with the Committed versions introduced here? -- Glenn