aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libsbutil: cleanup x* memory functionsMike Frysinger2008-12-311-14/+4
| | | | | | | | Pull the x* memory functions out of rcscripts and into libsbutil and change their style to match the rest of sbutil. Also add xzalloc() and xstrdup(), and convert pointless strndup() usage to strdup(). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* unify SB_E{INFO,WARN,ERROR} functions and have them call the internal ↵Mike Frysinger2008-11-161-2/+1
| | | | | | sb_printf function Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libsandbox: do a little memory memory checking on free() to make sure the ↵Mike Frysinger2008-11-101-4/+13
| | | | | | pointer didnt get corrupt Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libsandbox: create local memory functionsMike Frysinger2008-11-091-0/+82
Some packages create their own set of memory functions and if libsandbox tries to use those, we tend to crash. So have all libsandbox code use its internal memory functions based on mmap(). URL: http://bugs.gentoo.org/164656 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Ed Catmur <ed@catmur.co.uk> Signed-off-by: Mike Frysinger <vapier@gentoo.org>