Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 21,36 ****
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # ident "%Z%%M% %I% %E% SMI"
! #
! # This makefile drives the production of the icmp6 IP driver
! #
! # intel implementation architecture dependent
! #
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
--- 21,31 ----
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
*** 59,68 ****
--- 54,65 ----
#
# depends on ip ip6 and icmp
#
LDFLAGS += -dy -Ndrv/ip -Ndrv/ip6 -Ndrv/icmp
+ # needs work
+ $(OBJS_DIR)/icmp6ddi.o := SMOFF += index_overflow
#
# Default build targets.
#
.KEEP_STATE: