FreeBSD libc security extensions

Project description

WE THOUGHT WE MIGHT FIND THE TIME TO AT LEAST START THE SECOND PHASE BUT AFTER RECONSIDERING, THE FIRST PART IS SUFFICIENT FOR THIS GSOC PROJECT.

Deliverables

phase #1

phase #2

GSoC extra

Milestones

phase #1

phase #2 - reprogrammed

Test Plan

phase #1

phase #2

The Code

General Reference

FORTIFY_SOURCE

C11 Extensions

1.1

apple

bionic

netbsd

freebsd

__bos

n.a.

3BSDL

n.a.

done

__bos0

n.a.

3BSDL

n.a.

done

__chk_fail

APSL

n.a.

2BSDL

done

__chk_fail_overflow

APSL

n.a.

n.a.

n.a.

__chk_fail_overlap

APSL

n.a.

n.a.

n.a.

__darwin_obsz

APSL

n.a.

n.a.

n.a.

__darwin_obsz0

APSL

n.a.

n.a.

n.a.

__fortify_chk_fail

n.a.

2BSDL

n.a.

done

__fortify_chk_overlap

n.a.

n.a.

n.a.

done

__ssp_bos

n.a.

n.a.

2BSDL

n.a.

__ssp_bos0

n.a.

n.a.

2BSDL

n.a.

__ssp_overlap

n.a.

n.a.

2BSDL

n.a.

__FD_ISSET_chk

n.a.

2BSDL

n.a.

done

__FD_CLR_chk

n.a.

2BSDL

n.a.

done

__FD_SET_chk

n.a.

2BSDL

n.a.

done

"__bcopy_chk"

n.a.

4BSDL

n.a.

done

"__bzero_chk"

n.a.

4BSDL

n.a.

done

__fgets_chk

n.a.

2BSDL

2BSDL

done

__fread_chk

n.a.

2BSDL

n.a.

done

__fwrite_chk

n.a.

2BSDL

n.a.

done

__getcwd_chk

n.a.

2BSDL

n.a.

done

__gets_chk

n.a.

n.a.

2BSDL

n.a.

__memccpy_chk

APSL

n.a.

n.a.

done + overlap

__memchr_chk

n.a.

2BSDL

n.a.

done

__memcpy_chk

APSL

2BSDL

2BSDL

done + overlap

__memmove_chk

APSL

2BSDL

2BSDL

done

__memrchr_chk

n.a.

2BSDL

n.a.

done

__memset_chk

APSL

2BSDL

2BSDL

done

__open_2 (XXX)

n.a.

2BSDL

n.a.

???

__openat_2 (XXX)

n.a.

2BSDL

n.a.

???

__poll_chk

n.a.

2BSDL

n.a.

done

__ppoll_chk

n.a.

2BSDL

n.a.

done

__pread64_chk

n.a.

2BSDL

n.a.

n.a.

__pread_chk

n.a.

2BSDL

n.a.

done

__pwrite64_chk

n.a.

2BSDL

n.a.

n.a.

__pwrite_chk

n.a.

2BSDL

n.a.

todo

__read_chk

n.a.

2BSDL

n.a.

done

__readlink_chk

n.a.

2BSDL

n.a.

done

__readlinkat_chk

n.a.

2BSDL

n.a.

done

__recvfrom_chk

n.a.

2BSDL

n.a.

done

__rindex_chk

n.a.

3BSDL

n.a.

done

__snprintf_chk

APSL

2BSDL

2BSDL

done

__sprintf_chk

APSL

2BSDL

2BSDL

done

__stpcpy_chk

APSL

2BSDL

2BSDL

done

__stpncpy_chk

APSL

2BSDL

2BSDL

done

__stpncpy_chk2

n.a.

2BSDL

n.a.

done

__strcat_chk

APSL

2BSDL

2BSDL

done

__strchr_chk

n.a.

3BSDL

n.a.

done

__strchrnul_chk

n.a.

n.a.

n.a.

done

__strcpy_chk

APSL

2BSDL

2BSDL

done

__strlcat_chk

APSL

2BSDL

n.a.

done

__strlcpy_chk

APSL

2BSDL

n.a.

done

__strlen_chk

n.a.

2BSDL

n.a.

done

__strncat_chk

APSL

2BSDL

2BSDL

done

__strncpy_chk

APSL

2BSDL

2BSDL

done

__strncpy_chk2

n.a.

2BSDL

n.a.

done

__strrchr_chk

n.a.

3BSDL

n.a.

done

__umask_chk

n.a.

2BSDL

n.a.

done (sys/stat.h)

__vsnprintf_chk

APSL

2BSDL

2BSDL

done

__vsprintf_chk

APSL

2BSDL

2BSDL

done

__realpath_chk

todo

w*?

1.2

tools

"weekly" status reports

test results and memos

detected and fixed issues with and under FORTIFY_SOURCE development

Project Conclusion

The GSoC is over and we are satisfied with the results of the exercise. The code is not being considered for the base system for three reasons:

SummerOfCode2015/FreeBSDLibcSecurityExtensions (last edited 2018-06-26 01:44:47 by PedroGiffuni)