Yes it is--I should add they are Legal if the provision does not impede free competition in the marketplace---courts have allowed them as a general rule. If they are buying on the open market its a no brainer.
It's a a private company. The way I understood "shareholders" to be was investors that have a voting right in the company because they've funded/invested a lot in the company.